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
16.846
15,294.479
849.693
3
72.179
54
47
12.96
0.148325
{"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.933162
0.00889
0.98406
1
false
HumanEval/1
separate_paren_groups
false
false
0
0
null
SyntaxError
33
197
993.746
16.739
16,634.438
924.135
2
74.492
null
null
null
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": 36, ":": 1, "\u0120str": 1, ")": 20, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 26, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to...
5.416967
0.014963
0.99016
1
false
HumanEval/2
truncate_number
true
true
1
0
null
null
9
16
50.719
6
304.313
16.906
1
114.758
17
2
76.47
0.511278
{"def": 1, "\u0120truncate": 4, "_number": 4, "(number": 2, ":": 1, "\u0120float": 2, ")": 2, "\u0120->": 1, ":\u010a": 2, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120a": 1, "\u0120positive": 1, "\u0120floating": 1, "\u0120point": 1, "\u0120number": 4, ",": 1, "\u0120it": 1, "\u0120can": 1, "\u...
5.742932
0.20108
1.0757
1
false
HumanEval/3
below_zero
true
false
0
1
null
AssertionError
19
29
123.19
11.143
1,372.687
76.26
2
109.914
16
8
50
0.541667
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 8, "def": 1, "\u0120below": 4, "_zero": 3, "(": 1, "operations": 1, ":": 1, "[int": 1, "])": 1, "\u0120->": 1, "\u0120bool": 1, ":\u010a": 3, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "\u0120You": 1, "'re": 1, "\u0120given": 1, "\u0120a": 2...
5.908102
0.070174
1.34791
1
false
HumanEval/4
mean_absolute_deviation
true
true
1
0
null
null
21
50
219.616
14.667
3,221.033
178.946
2
108.815
15
6
60
0.537975
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 6, "def": 1, "\u0120mean": 5, "_absolute": 2, "_dev": 2, "iation": 4, "(numbers": 5, ":": 1, "[float": 1, "])": 1, "\u0120->": 1, "\u0120float": 1, ":\u010a": 2, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 2, "\u012...
6.002269
0.108748
1.50883
1
false
HumanEval/5
intersperse
true
false
0
1
null
AssertionError
17
56
228.898
15.583
3,566.993
198.166
1
113.49
11
5
54.55
0.512195
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 1, "def": 1, "\u0120inters": 3, "perse": 3, "(numbers": 1, ":": 2, "[int": 2, "],": 2, "\u0120del": 1, "imeter": 4, "\u0120int": 1, ")": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Insert": 1, "\u0120a":...
5.602726
0.102844
0.76874
1
false
HumanEval/6
parse_nested_parens
true
false
0
1
null
AssertionError
12
14
50.189
5
250.947
13.942
2
124.105
11
3
63.64
0.701754
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120parse": 2, "_nested": 2, "_p": 2, "are": 2, "ns": 2, "(paren": 1, "_string": 1, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120t...
6.082804
0.288568
1.072
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.008311
0.11635
1
false
HumanEval/8
sum_product
true
true
1
0
null
null
23
52
235.225
17.889
4,207.918
233.773
2
103.299
17
10
41.18
0.41875
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 10, "\u0120Tuple": 2, "\u010a": 5, "def": 1, "\u0120sum": 5, "_product": 6, "(numbers": 1, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "\u0120int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 5, "\u0120g...
5.615333
0.037481
1.08205
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.003552
0.83549
1
false
HumanEval/10
make_palindrome
false
false
0
0
null
SyntaxError
30
296
1,452.44
27.211
39,521.646
2,195.647
1
72.749
null
null
null
0.181193
{"def": 2, "\u0120is": 21, "_pal": 22, "indrome": 22, "(string": 19, ":": 2, "\u0120str": 3, ")": 2, "\u0120->": 2, "\u0120bool": 1, ":\u010a": 4, "\u0120\u0120\u0120": 31, "\u0120\"\"\"": 2, "\u0120Test": 1, "\u0120if": 19, "\u0120given": 1, "\u0120string": 26, "\u0120a": 4, "\u0120palindrome": 3, "\u0120\"\"\"\u010a"...
5.231557
0.022347
1.9363
2
false
HumanEval/11
string_xor
true
false
0
1
null
AssertionError
21
48
210.831
12
2,529.975
140.554
2
120.257
10
3
50
0.68
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 1, "def": 1, "\u0120string": 3, "_xor": 2, "(a": 3, ":": 2, "\u0120str": 3, ",": 1, "\u0120b": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 6, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120are": 1, "\u0120two": 1, "\u0120strings...
5.827369
0.054633
1.50986
2
true
HumanEval/12
longest
true
true
1
0
null
null
18
30
125.098
9.429
1,179.493
65.527
1
116.632
14
5
57.14
0.522124
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 3, "\u0120Optional": 2, "\u010a": 3, "def": 1, "\u0120longest": 5, "(strings": 2, ":": 1, "[str": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "\u0120Out": 1, "\u0120of": 4, "\u0120list": 2, "\u0120strings"...
5.55586
0.053883
0.71553
1
false
HumanEval/13
greatest_common_divisor
true
true
1
0
null
null
14
28
106.606
10.8
1,151.344
63.964
2
110.665
15
5
60
0.372263
{"def": 1, "\u0120greatest": 5, "_common": 6, "_div": 6, "isor": 6, "(a": 1, ":": 4, "\u0120int": 3, ",": 6, "\u0120b": 4, ")": 1, "\u0120->": 1, ":\u010a": 4, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 4, "\u0120common": 1, "\u0120divisor": 1, "\u0120of": 1, "\u0120two": 1, "\u0120intege...
5.252617
0.046112
1.33815
1
false
HumanEval/14
all_prefixes
true
false
0
1
null
AssertionError
15
30
117.207
8.25
966.955
53.72
2
123.31
7
3
57.14
0.776119
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 2, "def": 1, "\u0120all": 3, "_prefix": 2, "es": 2, "(string": 2, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[str": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120list": 1, "\u0120of": 2, "\u0120pr...
5.553186
0.206771
0.99561
1
false
HumanEval/15
string_sequence
true
false
0
1
null
AssertionError
9
14
44.379
5
221.895
12.327
1
128.59
10
2
70
0.614286
{"def": 1, "\u0120string": 4, "_sequence": 3, "(n": 2, ":": 1, "\u0120int": 1, ")": 1, "\u0120->": 1, "\u0120str": 2, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120a": 1, "\u0120containing": 1, "\u0120space": 1, "-del": 1, "imited": 1, "\u0120numbers": 1, "\u0120starting": 1, "\u01...
5.101909
0.069222
0.87818
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.0057
1.08952
1
false
HumanEval/17
parse_music
true
false
0
1
null
AssertionError
21
37
162.516
9.333
1,516.814
84.267
2
117.995
16
4
62.5
0.5
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, "\u010a": 4, "def": 1, "\u0120parse": 3, "_music": 2, "(m": 2, "usic": 2, "_string": 2, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "[int": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120to": 3, "\u0120this": ...
6.060501
0.290502
1.66859
1
false
HumanEval/18
how_many_times
true
false
0
1
null
AssertionError
11
14
48.432
4.375
211.89
11.772
2
124.29
13
2
76.92
0.610526
{"def": 1, "\u0120how": 5, "_many": 4, "_times": 4, "(string": 1, ":": 2, "\u0120str": 2, ",": 1, "\u0120substring": 2, ")": 1, "\u0120->": 1, "\u0120int": 1, ":\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "\u0120Find": 1, "\u0120many": 1, "\u0120times": 1, "\u0120a": 1, "\u0120given": 1, "\u0120can": 1, "\...
5.497766
0.073973
1.05918
1
false
HumanEval/19
sort_numbers
true
false
0
1
null
AssertionError
13
23
85.11
4.667
397.181
22.066
1
125.204
9
3
66.67
0.626168
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 1, "\u010a": 2, "def": 1, "\u0120sort": 2, "_numbers": 2, "(numbers": 2, ":": 1, "\u0120str": 2, ")": 1, "\u0120->": 1, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Input": 1, "\u0120is": 1, "\u0120a": 1, "\u0120space": 1, "-del": 1, "i...
5.603549
0.388152
1.3574
1
false
HumanEval/20
find_closest_elements
true
false
0
1
null
AssertionError
28
170
817.25
35
28,603.762
1,589.098
7
90.649
21
14
33.33
0.315113
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 2, ",": 16, "\u0120Tuple": 2, "\u010a": 2, "def": 1, "\u0120find": 3, "_close": 3, "st": 3, "_elements": 3, "(numbers": 9, ":": 1, "[float": 2, "])": 4, "\u0120->": 1, "\u0120float": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "\u0120Fro...
5.921504
0.047139
1.19639
1
false
HumanEval/21
rescale_to_unit
true
false
0
1
null
AssertionError
15
28
109.393
11
1,203.322
66.851
2
120.053
9
3
66.67
0.532374
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 3, "def": 1, "\u0120res": 2, "cale": 2, "_to": 2, "_unit": 2, "(numbers": 2, ":": 1, "[float": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Given": 1, "\u0120list": 2, "\u0120of": 1, "\u0120numbe...
5.655817
0.236437
1.79044
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.051117
0.76675
1
false
HumanEval/23
strlen
true
true
1
0
null
null
10
14
46.507
3.75
174.401
9.689
1
133.007
9
2
66.67
0.690476
{"def": 1, "\u0120strlen": 3, "(string": 2, ":": 1, "\u0120str": 1, ")": 1, "\u0120->": 1, "\u0120int": 1, ":\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "\u0120Return": 1, "\u0120length": 1, "\u0120of": 1, "\u0120given": 1, "\u0120string": 1, "\u010a": 3, "\u0120>>>": 2, "('')\u010a": 1, "\u0120": 2, "0": 1...
4.555145
0.022743
1
6
false
HumanEval/24
largest_divisor
true
false
0
1
null
AssertionError
16
29
116
10
1,160
64.444
3
114.068
11
4
54.55
0.602151
{"def": 1, "\u0120largest": 3, "_div": 3, "isor": 3, "(n": 2, ":": 2, "\u0120int": 2, ")": 1, "\u0120->": 1, ":\u010a": 3, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "\u0120For": 1, "\u0120a": 1, "\u0120given": 1, "\u0120number": 2, "\u0120n": 4, ",": 4, "\u0120find": 1, "\u0120the": 1, "\u0120that": 1, "\u0120divides...
5.539226
0.101514
1.69428
1
false
HumanEval/25
factorize
false
false
0
0
null
SyntaxError
33
183
923.124
17.174
15,853.653
880.759
3
73.502
53
43
18.87
0.175772
{"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.080777
0.007773
0.76507
1
false
HumanEval/26
remove_duplicates
true
false
0
1
null
AssertionError
11
17
58.81
8
470.483
26.138
2
85.035
57
2
96.49
0.145503
{"from": 1, "\u0120typing": 1, "\u0120import": 1, "\u0120List": 3, "\u010a": 50, "def": 1, "\u0120remove": 3, "_duplicates": 2, "(numbers": 1, ":": 1, "[int": 2, "])": 1, "\u0120->": 1, "]:\u010a": 1, "\u0120\u0120\u0120": 55, "\u0120\"\"\"": 1, "\u0120From": 1, "\u0120a": 1, "\u0120list": 1, "\u0120of": 2, "\u0120inte...
3.835952
0.011005
1.29752
1
false
HumanEval/27
flip_case
true
true
1
0
null
null
10
15
49.829
5.833
290.669
16.148
1
121.419
10
2
70
0.615385
{"def": 1, "\u0120flip": 4, "_case": 3, "(string": 1, ":": 1, "\u0120str": 2, ")": 1, "\u0120->": 1, ":\u010a": 2, "\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.143608
0.113838
0.6904
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.064246
0.44972
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.346154
{"def": 1, "\u0120get": 3, "_positive": 3, "(l": 1, ":": 2, "\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.670292
0.018226
0.81272
1
false
HumanEval/31
is_prime
true
true
1
0
null
null
19
44
186.909
10.556
1,972.926
109.607
2
101.789
29
11
58.62
0.307263
{"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.140246
0.041889
1.12346
1
false
HumanEval/32
find_zero
false
false
0
0
null
SyntaxError
38
302
1,584.874
49.786
78,904.09
4,383.561
3
81.92
37
20
40.54
0.194595
{"import": 1, "\u0120math": 2, "\u010a": 9, "def": 2, "\u0120poly": 2, "(xs": 11, ":": 3, "\u0120list": 3, ",": 9, "\u0120x": 7, "\u0120float": 1, "):\u010a": 2, "\u0120\u0120\u0120": 24, "\u0120\"\"\"\u010a": 3, "\u0120Evalu": 1, "ates": 1, "\u0120polynomial": 2, "\u0120with": 1, "\u0120coefficients": 4, "\u0120xs": 4...
5.681424
0.027464
1.14051
2
false
HumanEval/33
sort_third
true
false
0
1
null
AssertionError
11
22
76.107
7.875
599.347
33.297
1
119.216
14
4
64.29
0.403614
{"def": 1, "\u0120sort": 3, "_third": 3, "(l": 2, ":": 2, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 9, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 3, "\u010a": 2, "\u0120is": 1, "...
5.463651
0.034214
0.7892
1
false
HumanEval/34
unique
true
true
1
0
null
null
8
14
42
2.5
105
5.833
1
128.876
8
2
62.5
0.419753
{"def": 1, "\u0120unique": 3, "(l": 2, ":": 2, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 2, "\u0120elements": 1, "\u0120in": 1, "\u0120a": 1, "\u010a": 1, "\u0120>>>": 1, "([": 1, "5": 3, ",": 13, "\u0120": 13, "3": 6, "2": 4, "9": 2, "0": 2, "1": 2, "])\u0...
4.428237
0.040858
0.85736
1
false
HumanEval/35
max_element
true
true
1
0
null
null
15
28
109.393
13
1,422.108
79.006
3
108.594
16
8
43.75
0.373016
{"def": 1, "\u0120max": 7, "_element": 7, "(l": 1, ":": 2, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"": 1, "Return": 1, "\u0120maximum": 1, "\u0120element": 1, "\u0120in": 2, "\u0120the": 1, ".\u010a": 1, "\u0120>>>": 2, "([": 2, "1": 5, ",": 12, "\u0120": 11, "2": 4, "3": 7, "])\u010a": 2,...
5.01989
0.041527
1.22514
1
false
HumanEval/36
fizz_buzz
true
false
0
1
null
AssertionError
20
38
164.233
11
1,806.566
100.365
4
109.866
16
6
56.25
0.465649
{"def": 1, "\u0120fizz": 4, "_b": 4, "uzz": 4, "(n": 1, ":": 2, "\u0120int": 1, "):\u010a": 2, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "Return": 1, "\u0120the": 2, "\u0120number": 1, "\u0120of": 1, "\u0120times": 1, "\u0120digit": 1, "\u0120": 13, "7": 3, "\u0120appears": 1, "\u0120in": 2, "\u0120integers": 1, "\u...
5.396496
0.06173
1.3574
1
false
HumanEval/37
sort_even
true
false
0
1
null
AssertionError
12
33
118.304
12
1,419.645
78.869
1
114.425
15
5
60
0.418919
{"def": 1, "\u0120sort": 3, "_even": 3, "(l": 1, ":": 2, "\u0120list": 3, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "This": 1, "\u0120function": 1, "\u0120takes": 1, "\u0120a": 2, "\u0120l": 12, "\u0120and": 1, "\u0120returns": 1, "'": 2, "\u0120such": 1, "\u0120that": 1, "\u010a": 2, "\u0120is": 1, "...
5.417752
0.106284
1.60276
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.041671
1.68941
3
false
HumanEval/39
prime_fib
true
false
0
1
null
AssertionError
40
101
537.515
4.143
2,226.847
123.714
2
78.088
52
39
25
0.109415
{"def": 1, "\u0120prime": 8, "_f": 7, "ib": 7, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 32, "\u0120\"\"\"\u010a": 2, "\u0120returns": 1, "\u0120n": 20, "-th": 1, "\u0120number": 2, "\u0120that": 1, "\u0120is": 1, "\u0120a": 1, "\u0120Fibonacci": 1, "\u0120and": 1, "\u0120it": 1, "'s": 1, "\...
4.677248
0.036962
1.54728
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
96.497
31
9
64.52
0.268987
{"def": 1, "\u0120triples": 11, "_sum": 11, "_to": 11, "_zero": 11, "(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, "\u0120...
5.57719
0.031538
0.99561
1
false
HumanEval/41
car_race_collision
true
false
0
1
null
AssertionError
7
8
22.459
2
44.918
2.495
1
128.516
16
2
75
0.575
{"def": 1, "\u0120car": 3, "_race": 1, "_collision": 1, "(n": 1, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"\u010a": 2, "\u0120Imagine": 1, "\u0120a": 6, "\u0120road": 1, "\u0120that": 3, "'s": 3, "\u0120perfectly": 1, "\u0120straight": 1, "\u0120infinitely": 2, "\u0120long": 1, "\u01...
6.134101
0.020736
1.53992
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.341463
{"def": 1, "\u0120incr": 3, "_list": 3, "(l": 1, ":": 2, "\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.511747
0.013365
1
1
false
HumanEval/43
pairs_sum_to_zero
true
false
0
1
null
AssertionError
16
29
116
12.1
1,403.6
77.978
3
102.839
28
8
71.43
0.316
{"def": 1, "\u0120pairs": 8, "_sum": 7, "_to": 7, "_zero": 7, "(l": 2, "):\u010a": 2, "\u0120\u0120\u0120": 21, "\u0120\"\"\"\u010a": 2, "\u0120takes": 1, "\u0120a": 2, "\u0120list": 3, "\u0120of": 1, "\u0120integers": 1, "\u0120as": 1, "\u0120an": 1, "\u0120input": 1, ".\u010a": 2, "\u0120it": 2, "\u0120returns": 1, "...
5.677333
0.08073
1.46895
1
false
HumanEval/44
change_base
true
false
0
1
null
AssertionError
14
34
129.45
12.6
1,631.071
90.615
2
107.949
20
5
70
0.342541
{"def": 1, "\u0120change": 4, "_base": 7, "(x": 4, ":": 5, "\u0120int": 2, ",": 7, "\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.44993
0.037761
0.99561
1
false
HumanEval/45
triangle_area
true
true
1
0
null
null
10
12
39.863
5.833
232.535
12.919
1
129.148
8
2
62.5
0.732143
{"def": 1, "\u0120triangle": 3, "_area": 2, "(a": 1, ",": 2, "\u0120h": 2, "):\u010a": 1, "\u0120\u0120\u0120": 5, "\u0120\"\"\"": 1, "Given": 1, "\u0120length": 1, "\u0120of": 1, "\u0120a": 3, "\u0120side": 1, "\u0120and": 1, "\u0120high": 1, "\u0120return": 2, "\u0120area": 1, "\u0120for": 1, ".\u010a": 1, "\u0120>>>...
5.166742
0.148913
1.36654
1
false
HumanEval/46
fib4
true
false
0
1
null
AssertionError
6
7
18.095
2
36.189
2.011
2
118.181
24
2
87.5
0.334951
{"def": 1, "\u0120fib": 17, "4": 23, "(n": 6, ":": 1, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 15, "\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...
5.284828
0.022948
0.53034
1
false
HumanEval/47
median
true
false
0
1
null
AssertionError
17
54
220.723
18.333
4,046.588
224.81
2
113.45
13
5
46.15
0.393701
{"def": 1, "\u0120median": 4, "(l": 5, ":": 1, "\u0120list": 2, "):\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "Return": 1, "\u0120of": 1, "\u0120elements": 1, "\u0120in": 1, "\u0120the": 1, "\u0120l": 3, ".\u010a": 1, "\u0120>>>": 2, "([": 1, "3": 2, ",": 9, "\u0120": 18, "1": 6, "2": 7, "4": 2, "5": 2, "]...
5.009327
0.053954
2.38728
4
false
HumanEval/48
is_palindrome
true
true
1
0
null
null
11
16
55.351
6.667
369.006
20.5
1
127.441
15
2
80
0.486842
{"def": 1, "\u0120is": 6, "_pal": 5, "indrome": 5, "(text": 1, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"\u010a": 2, "\u0120Checks": 1, "\u0120if": 1, "\u0120given": 1, "\u0120string": 1, "\u0120a": 1, "\u0120palindrome": 1, "\u010a": 5, "\u0120>>>": 4, "('')\u010a": 1, "\u0120True":...
4.673942
0.035582
1.21643
1
false
HumanEval/49
modp
true
false
0
1
null
AssertionError
10
19
63.117
8.167
515.453
28.636
1
113.621
21
2
85.71
0.218182
{"def": 1, "\u0120mod": 6, "p": 11, "(n": 1, ":": 7, "\u0120int": 2, ",": 11, "\u0120p": 4, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Return": 1, "\u0120": 26, "2": 3, "^n": 1, "\u0120modulo": 1, "\u0120(": 2, "be": 1, "\u0120aware": 1, "\u0120of": 1, "\u0120numer": 1, "ics": 1, ").\u010a": 1, "\u012...
4.761881
0.049937
1.17789
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.00089
0.09651
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.035935
0.49443
1
false
HumanEval/52
below_threshold
true
true
1
0
null
null
13
20
74.009
5.25
388.546
21.586
2
125.7
10
2
70
0.483871
{"def": 1, "\u0120below": 4, "_threshold": 3, "(l": 1, ":": 3, "\u0120list": 2, ",": 7, "\u0120t": 3, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Return": 1, "\u0120True": 2, "\u0120if": 1, "\u0120all": 2, "\u0120numbers": 1, "\u0120in": 2, "\u0120the": 1, "\u0120l": 2, "\u0120are": 1, "...
5.111343
0.019847
0.89779
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
-0
1
false
HumanEval/54
same_chars
true
false
0
1
null
AssertionError
15
41
160.183
12
1,922.19
106.788
2
110.456
22
7
68.18
0.3125
{"def": 1, "\u0120same": 8, "_chars": 7, "(s": 4, "0": 4, ":": 2, "\u0120str": 2, ",": 1, "\u0120s": 3, "1": 3, "):\u010a": 2, "\u0120\u0120\u0120": 18, "\u0120\"\"\"\u010a": 2, "\u0120Check": 1, "\u0120if": 3, "\u0120two": 1, "\u0120words": 1, "\u0120have": 1, "\u0120the": 1, "\u0120characters": 1, ".\u010a": 1, "\u01...
5.271357
0.045536
0.93285
1
false
HumanEval/55
fib
true
true
1
0
null
null
12
31
111.134
9.8
1,089.112
60.506
2
110.449
17
7
52.94
0.410526
{"def": 1, "\u0120fib": 6, "(n": 3, ":": 2, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "Return": 1, "\u0120n": 3, "-th": 1, "\u0120Fibonacci": 1, "\u0120number": 1, ".\u010a": 1, "\u0120>>>": 3, "(": 3, "1": 8, "0": 1, ")\u010a": 3, "\u0120": 9, "5": 2, "\u010a": 5, "8": 1, "2": 3, "\u0...
4.796208
0.110301
1.48528
1
false
HumanEval/56
correct_bracketing
false
false
0
0
null
IndentationError
7
106
297.58
43.75
13,019.108
723.284
3
72.336
79
66
15.19
0.132468
{"def": 1, "\u0120correct": 5, "_br": 5, "acket": 5, "ing": 5, "(br": 1, "ackets": 1, ":": 2, "\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.195263
0.015716
1.17975
1
false
HumanEval/57
monotonic
true
false
0
1
null
AssertionError
22
70
312.16
23.625
7,374.785
409.71
3
100.188
19
11
42.11
0.337278
{"def": 1, "\u0120monot": 4, "onic": 4, "(l": 2, ":": 1, "\u0120list": 2, "):\u010a": 2, "\u0120\u0120\u0120": 13, "\u0120\"\"\"": 1, "Return": 1, "\u0120True": 5, "\u0120is": 1, "\u0120elements": 1, "\u0120are": 1, "\u0120mon": 1, "oton": 1, "ically": 1, "\u0120increasing": 1, "\u0120or": 1, "\u0120decreasing": 1, ".\...
5.303357
0.087921
1.25891
1
false
HumanEval/58
common
false
false
0
0
null
SyntaxError
20
250
1,080.482
49
52,943.619
2,941.312
3
81.206
null
null
null
0.122302
{"def": 1, "\u0120common": 4, "(l": 14, "1": 39, ":": 2, "\u0120list": 2, ",": 22, "\u0120l": 23, "2": 33, "):\u010a": 2, "\u0120\u0120\u0120": 18, "\u0120\"\"\"": 1, "Return": 1, "\u0120sorted": 1, "\u0120unique": 1, "\u0120elements": 1, "\u0120for": 1, "\u0120two": 1, "\u0120lists": 1, ".\u010a": 1, "\u0120>>>": 2, "...
4.824771
0.027546
1.4568
1
false
HumanEval/59
largest_prime_factor
true
false
0
1
null
AssertionError
19
41
174.165
10.556
1,838.409
102.134
2
108.113
15
7
46.67
0.471074
{"def": 1, "\u0120largest": 4, "_prime": 3, "_factor": 3, "(n": 2, ":": 2, "\u0120int": 2, "):\u010a": 2, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "Return": 1, "\u0120the": 1, "\u0120prime": 2, "\u0120factor": 1, "\u0120of": 1, "\u0120n": 5, ".": 2, "\u0120Assume": 1, "\u0120>": 1, "\u0120": 9, "1": 4, "\u0120and": ...
5.481239
0.042245
1.27636
1
false
HumanEval/60
sum_to_n
true
true
1
0
null
null
13
25
92.511
9.6
888.106
49.339
1
106.972
24
6
70.83
0.24878
{"def": 1, "\u0120sum": 7, "_to": 12, "_n": 12, "(n": 2, ":": 5, "\u0120int": 1, "):\u010a": 1, "\u0120\u0120\u0120": 15, "\u0120\"\"\"": 1, "sum": 1, "\u0120is": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 1, "\u0120sums": 1, "\u0120numbers": 1, "\u0120from": 1, "\u0120": 16, "1": 14, "\u0120to": 1, "\u0120n":...
5.009563
0.059441
1.5053
1
false
HumanEval/61
correct_bracketing
false
false
0
0
null
SyntaxError
29
154
748.129
10.341
7,736.335
429.796
3
74.967
54
42
20.37
0.159686
{"def": 1, "\u0120correct": 5, "_br": 5, "acket": 5, "ing": 5, "(br": 22, "ackets": 22, ":": 1, "\u0120str": 1, "):\u010a": 1, "\u0120\u0120\u0120": 32, "\u0120\"\"\"": 1, "\u0120brackets": 1, "\u0120is": 1, "\u0120a": 2, "\u0120string": 1, "\u0120of": 1, "\u0120\"(\"": 1, "\u0120and": 1, "\u0120\")\"": 1, ".\u010a": 1...
4.859494
0.013387
1.31999
1
false
HumanEval/62
derivative
true
false
0
1
null
AssertionError
15
24
93.765
6.75
632.916
35.162
2
129.13
10
2
80
0.421488
{"def": 1, "\u0120derivative": 4, "(xs": 2, ":": 2, "\u0120list": 1, "):\u010a": 1, "\u0120\u0120\u0120": 8, "\u0120\"\"\"": 1, "\u0120xs": 4, "\u0120represent": 1, "\u0120coefficients": 1, "\u0120of": 2, "\u0120a": 1, "\u0120polynomial": 2, ".\u010a": 2, "[": 4, "0": 2, "]": 3, "\u0120+": 3, "1": 6, "\u0120*": 3, "\u0...
5.204369
0.238383
1.34181
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.002594
0.49443
1
false
HumanEval/64
vowels_count
true
false
0
1
null
AssertionError
15
26
101.579
6.125
622.172
34.565
3
110.687
20
7
55
0.583893
{"def": 1, "\u0120vowels": 7, "_count": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120which": 1, "\u0120takes": 1, "\u0120string": 2, "\u0120representing": 1, "\u010a": 6, "\u0120word": 2, "\u0120as": 1, "\u0120input": 1, "\u0120and": 1, "\...
5.987734
0.041219
1.29923
1
false
HumanEval/65
circular_shift
true
false
0
1
null
TypeError
15
60
234.413
21
4,922.682
273.482
1
113.367
14
4
64.29
0.467213
{"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.417464
0.020584
1.57614
1
false
HumanEval/66
digitSum
true
true
1
0
null
null
13
22
81.41
6.4
521.022
28.946
3
124.975
15
2
80
0.557971
{"def": 1, "\u0120digit": 7, "Sum": 7, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 7, "\u0120\"\"\"": 1, "Task": 1, "\u010a": 8, "\u0120Write": 2, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 1, "\u0120as": 1, "\u0120input": 1, "\u0120and": 1, "\u0120returns": 1, "\u0120the": ...
5.781948
0.153817
1.30744
1
false
HumanEval/67
fruit_distribution
true
false
0
1
null
AssertionError
7
7
19.651
2.5
49.129
2.729
2
91.043
63
1
98.41
0.130769
{"def": 1, "\u0120fruit": 6, "_distribution": 5, "(s": 1, ",n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 62, "\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.657467
0.004093
0.63997
1
false
HumanEval/68
pluck
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
131.718
38
2
76.32
0.178982
{"def": 1, "\u0120pl": 4, "uck": 2, "(arr": 1, "):\u010a": 1, "\u0120\u0120\u0120": 14, "\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...
4.856216
0.065441
3.30903
1
false
HumanEval/69
search
true
false
0
1
null
AssertionError
21
63
276.716
29
8,024.764
445.82
6
93.556
27
16
40.74
0.338521
{"def": 1, "\u0120search": 4, "(lst": 1, "):\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.774755
0.058603
1.23282
1
false
HumanEval/70
strange_sort_list
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
135.332
13
1
84.62
0.410072
{"def": 1, "\u0120strange": 5, "_sort": 4, "_list": 4, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120'''\u010a": 2, "\u0120Given": 1, "\u0120list": 2, "\u0120of": 2, "\u0120integers": 2, ",": 18, "\u0120return": 2, "\u0120in": 1, "\u0120order": 1, ".\u010a": 1, "\u0120Strange": 1, "\u0120sorting": 1, "\u01...
5.134375
0.459161
2.03617
1
false
HumanEval/71
triangle_area
true
false
0
1
null
AssertionError
16
39
156
18.7
2,917.2
162.067
4
114.794
15
5
66.67
0.420382
{"def": 1, "\u0120triangle": 7, "_area": 3, "(a": 1, ",": 6, "\u0120b": 5, "\u0120c": 5, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120'''\u010a": 2, "\u0120Given": 1, "\u0120the": 7, "\u0120lengths": 1, "\u0120of": 4, "\u0120three": 2, "\u0120sides": 4, "\u0120a": 6, ".": 3, "\u0120Return": 1, "\u0120area": 1, "\u01...
5.619583
0.03547
0.87818
1
false
HumanEval/72
will_it_fly
false
false
0
0
null
SyntaxError
10
173
574.694
72
41,377.936
2,298.774
3
68.678
85
68
15.29
0.145038
{"def": 1, "\u0120will": 7, "_it": 5, "_f": 5, "ly": 5, "(q": 1, ",w": 1, "):\u010a": 1, "\u0120\u0120\u0120": 47, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 2, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120True": 4, "\u0120if": 36, "\u0120the": 7, "\u0120object": 2, "\u0120q": 36, "\u0120fly...
5.071342
0.008173
0.9826
1
false
HumanEval/73
smallest_change
true
false
0
1
null
AssertionError
28
161
773.984
10.773
8,337.92
463.218
2
75.02
52
41
19.23
0.166297
{"def": 1, "\u0120smallest": 4, "_change": 4, "(arr": 20, "):\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.092709
0.008796
1.29309
1
false
HumanEval/74
total_match
true
false
0
1
null
AssertionError
11
41
141.837
24
3,404.081
189.116
1
109.411
21
8
52.38
0.284519
{"def": 1, "\u0120total": 7, "_match": 6, "(lst": 7, "1": 8, ",": 2, "\u0120lst": 5, "2": 6, "):\u010a": 4, "\u0120\u0120\u0120": 15, "\u0120'''\u010a": 2, "\u0120Write": 1, "\u0120a": 1, "\u0120function": 1, "\u0120that": 2, "\u0120accepts": 1, "\u0120two": 2, "\u0120lists": 2, "\u0120of": 4, "\u0120strings": 2, "\u01...
5.538553
0.085361
1.07522
1
false
HumanEval/75
is_multiply_prime
true
false
0
1
null
NameError
12
38
136.229
7
953.6
52.978
5
106.994
18
8
44.44
0.472868
{"def": 1, "\u0120is": 8, "_multiply": 2, "_prime": 6, "(a": 5, "):\u010a": 5, "\u0120\u0120\u0120": 9, "\u0120\"\"\"": 1, "Write": 1, "\u0120a": 2, "\u0120function": 1, "\u0120that": 2, "\u0120returns": 1, "\u0120true": 1, "\u0120if": 6, "\u0120the": 2, "\u0120given": 1, "\u0120number": 1, "\u0120multiplication": 1, "...
5.430904
0.046819
1.69379
2
true
HumanEval/76
is_simple_power
true
false
0
1
null
AssertionError
12
26
93.209
11
1,025.299
56.961
1
115.665
17
6
64.71
0.343195
{"def": 1, "\u0120is": 11, "_simple": 8, "_power": 8, "(x": 2, ",": 8, "\u0120n": 8, "):\u010a": 1, "\u0120\u0120\u0120": 14, "\u0120\"\"\"": 1, "Your": 1, "\u0120task": 1, "\u0120to": 1, "\u0120write": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 1, "\u0120returns": 1, "\u0120true": 4, "\u0120if": 4, "\u0120num...
5.280575
0.119012
0.99561
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.011008
0.87818
1
false
HumanEval/78
hex_key
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
68
1
98.53
0.180921
{"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.173745
0.003187
0.67922
1
false
HumanEval/79
decimal_to_binary
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
62
1
95.16
0.172727
{"def": 1, "\u0120decimal": 4, "_to": 3, "_binary": 3, "(decimal": 1, "):\u010a": 1, "\u0120\u0120\u0120": 59, "\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, ...
4.409108
0.010961
0.90121
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.003301
0.99016
1
false
HumanEval/81
numerical_letter_grade
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
135.332
27
2
85.19
0.40293
{"def": 1, "\u0120numerical": 1, "_letter": 1, "_grade": 1, "(": 1, "grades": 1, "):\u010a": 1, "\u0120\u0120\u0120": 11, "\u0120\"\"\"": 1, "It": 1, "\u0120is": 2, "\u0120the": 6, "\u0120last": 1, "\u0120week": 1, "\u0120of": 3, "\u0120semester": 1, "\u0120and": 2, "\u0120teacher": 2, "\u0120has": 4, "\u0120to": 3, "\...
6.113828
0.25045
1.04327
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.000322
0.09651
1
false
HumanEval/83
starts_one_ends
true
false
0
1
null
AssertionError
30
124
608.454
7.2
4,380.872
243.382
2
73.828
53
49
7.55
0.127219
{"def": 1, "\u0120starts": 1, "_one": 1, "_ends": 1, "(n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 28, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120positive": 2, "\u0120integer": 1, "\u0120n": 26, ",": 1, "\u0120return": 25, "\u0120the": 2, "\u0120count": 1, "\u0120of": 2, "\u0120numbers": 1, "-digit...
4.148078
0.007826
0.9989
1
false
HumanEval/84
solve
true
false
0
1
null
AssertionError
42
142
765.709
6.622
5,070.236
281.68
2
75.076
55
41
21.82
0.14966
{"def": 1, "\u0120solve": 1, "(N": 1, "):\u010a": 1, "\u0120\u0120\u0120": 26, "\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.805134
0.009275
1.18977
1
false
HumanEval/85
add
true
false
0
1
null
AssertionError
17
25
102.187
10.083
1,030.381
57.243
4
128.223
8
2
50
0.71831
{"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.4875
0.166116
1.11641
1
false
HumanEval/86
anti_shuffle
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
93.78
63
1
96.83
0.191038
{"def": 1, "\u0120anti": 4, "_shuffle": 4, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 61, "\u0120\"\"\"\u010a": 2, "\u0120Write": 2, "\u0120a": 4, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120string": 3, "\u0120and": 2, "\u0120returns": 4, "\u0120an": 1, "\u0120ordered": 1, "\u0120version": 2, "\u0...
4.348319
0.006487
1.38943
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.013242
1.18923
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.03704
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.168734
{"def": 1, "\u0120encrypt": 6, "(s": 1, "):\u010a": 1, "\u0120\u0120\u0120": 60, "\u0120\"\"\"": 1, "Create": 1, "\u0120a": 4, "\u0120function": 1, "\u0120that": 2, "\u0120takes": 1, "\u0120string": 2, "\u0120as": 1, "\u0120an": 1, "\u0120argument": 1, "\u0120and": 1, "\u010a": 50, "\u0120returns": 5, "\u0120encrypted"...
4.072758
0.006892
0.99016
1
false
HumanEval/90
next_smallest
true
false
0
1
null
TypeError
16
34
136
8
1,088
60.444
3
111.077
18
6
55.56
0.391566
{"def": 1, "\u0120next": 6, "_sm": 8, "allest": 8, "(lst": 4, "):\u010a": 1, "\u0120\u0120\u0120": 13, "\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.482275
0.034193
0.96144
1
false
HumanEval/91
is_bored
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
135.332
14
2
78.57
0.688073
{"def": 1, "\u0120is": 7, "_b": 3, "ored": 3, "(S": 1, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\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.842169
0.245342
0.9826
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.065271
0.87818
1
false
HumanEval/93
encode
true
false
0
1
null
AssertionError
14
35
133.257
9.333
1,243.736
69.096
4
104.385
25
9
56
0.567742
{"def": 1, "\u0120encode": 3, "(message": 1, "):\u010a": 1, "\u0120\u0120\u0120": 17, "\u0120\"\"\"\u010a": 2, "\u0120Write": 1, "\u0120a": 4, "\u0120function": 2, "\u0120that": 4, "\u0120takes": 1, "\u0120message": 4, ",": 2, "\u0120and": 1, "\u0120enc": 1, "odes": 1, "\u0120in": 5, "\u0120such": 1, "\u0120\u010a": 4,...
6.023763
0.09395
1.33804
1
false
HumanEval/94
skjkasdkd
true
false
0
1
null
AssertionError
5
5
11.61
2
23.219
1.29
2
96.123
55
1
96.36
0.098229
{"def": 1, "\u0120sk": 1, "jk": 1, "as": 1, "dk": 1, "d": 1, "(lst": 1, "):\u010a": 1, "\u0120\u0120\u0120": 53, "\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.585842
0.000854
0.13986
1
false
HumanEval/95
check_dict_case
true
false
0
1
null
AssertionError
11
20
69.189
6.125
423.78
23.543
2
112.913
20
7
60
0.402985
{"def": 1, "\u0120check": 6, "_dict": 6, "_case": 6, "(dict": 1, "):\u010a": 2, "\u0120\u0120\u0120": 14, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120dictionary": 2, ",": 3, "\u0120return": 11, "\u0120True": 4, "\u0120if": 3, "\u0120all": 2, "\u0120keys": 2, "\u0120are": 2, "\u0120strings": 2, "\u01...
5.77046
0.017074
0.9989
1
false
HumanEval/96
count_up_to
false
false
0
0
null
SyntaxError
26
177
831.978
17.778
14,790.717
821.706
3
81.954
36
26
27.78
0.129176
{"def": 1, "\u0120count": 7, "_up": 7, "_to": 7, "(n": 1, "):\u010a": 1, "\u0120\u0120\u0120": 23, "\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.672812
0.007429
0.93225
1
false
HumanEval/97
multiply
true
false
0
1
null
AssertionError
8
8
24
2.5
60
3.333
1
128.171
13
2
84.62
0.435484
{"def": 1, "\u0120multiply": 5, "(a": 1, ",": 4, "\u0120b": 1, "):\u010a": 1, "\u0120\u0120\u0120": 12, "\u0120\"\"\"": 1, "Complete": 1, "\u0120the": 3, "\u0120function": 1, "\u0120that": 1, "\u0120takes": 1, "\u0120two": 1, "\u0120integers": 1, "\u0120and": 1, "\u0120returns": 1, "\u0120\u010a": 1, "\u0120product": 1...
5.235384
0.233781
1.03701
1
false
HumanEval/98
count_upper
true
false
0
1
null
AssertionError
22
38
169.458
11.556
1,958.186
108.788
4
109.703
16
6
50
0.587156
{"def": 1, "\u0120count": 8, "_upper": 4, "(s": 2, "):\u010a": 1, "\u0120\u0120\u0120": 10, "\u0120\"\"\"\u010a": 2, "\u0120Given": 1, "\u0120a": 1, "\u0120string": 1, "\u0120s": 2, ",": 1, "\u0120the": 1, "\u0120number": 1, "\u0120of": 1, "\u0120uppercase": 1, "\u0120vowels": 1, "\u0120in": 2, "\u0120even": 1, "\u0120...
5.55034
0.044749
1.52553
1
false
HumanEval/99
closest_integer
true
false
0
1
null
TypeError
11
80
276.755
27.125
7,506.967
417.054
4
98.087
30
13
50
0.338912
{"def": 1, "\u0120closest": 6, "_integer": 5, "(value": 10, "):\u010a": 2, "\u0120\u0120\u0120": 18, "\u0120'''\u010a": 2, "\u0120Create": 1, "\u0120a": 3, "\u0120function": 1, "\u0120that": 3, "\u0120takes": 1, "\u0120value": 4, "\u0120(": 1, "string": 1, ")": 2, "\u0120representing": 1, "\u0120number": 3, "\u010a": 8...
5.900227
0.100805
1.34107
1
false
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
-