Dataset Viewer
Auto-converted to Parquet Duplicate
code
stringclasses
20 values
source_dataset
stringclasses
5 values
quality_score
float64
62
74
quality_tier
stringclasses
1 value
loc
int64
77
456
sloc
int64
48
202
cyclomatic_complexity
float64
0
0
maintainability_index
float64
0
0
pylint_score
float64
0
8.33
nesting_depth_max
int64
5
12
comment_density
float64
0
3.04
long_methods
int64
1
3
flake8_errors
int64
3
143
security_issues_high
int64
0
0
security_issues_medium
int64
0
0
security_issues_low
int64
0
0
def main(): import sys input = sys.stdin.read().split() ptr = 0 while True: N = int(input[ptr]) ptr += 1 if N == 0: break files = {} # key: I, value: (start, end, E) excl_intervals = [] free_intervals = [(0, float('inf'))] # managed as list o...
rStar-Coder-synthetic
72
poor
109
96
0
0
6.81
12
0.114583
1
16
0
0
0
import sys def main(): input = sys.stdin.read data = input().split() idx = 0 t = int(data[idx]) idx += 1 for _ in range(t): n = int(data[idx]) m = int(data[idx + 1]) idx += 2 grid = [] for i in range(n): grid.append(data[idx].strip()) ...
rStar-Coder-synthetic
74
poor
167
133
0
0
6.87
9
0.075188
1
9
0
0
0
import bisect from collections import deque def main(): import sys input = sys.stdin.read().split() ptr = 0 w = int(input[ptr]); ptr +=1 h = int(input[ptr]); ptr +=1 n = int(input[ptr]); ptr +=1 flower_beds = [] for _ in range(n): x1 = int(input[ptr]); ptr +=1 y1 = int(i...
rStar-Coder-synthetic
71
poor
107
93
0
0
7.65
8
0.075269
1
42
0
0
0
def main(): import sys input = sys.stdin.read().split() N = int(input[0]) index = 1 result = [] for _ in range(N): a, b, c, d, e = map(int, input[index:index+5]) index +=5 sum_first = a + b + c # Since the problem states the sums are equal, only calculate one ...
rStar-Coder-seed
70
poor
270
48
0
0
0
7
3.041667
2
89
0
0
0
def main(): import sys base_str = "What are you doing at the end of the world? Are you busy? Will you save us?" A_str = "What are you doing while sending " # Length 33 B_str = "? Are you busy? Will you send " # Length 30 E_char = '?' threshold = 55 # chosen based on when L_prev surpasses ...
rStar-Coder-seed
71
poor
86
78
0
0
5.71
10
0
2
3
0
0
0
A_str = "What are you doing while sending " # length 32 B_str = " Are you busy? Will you send " # length 29 f0_str = "What are you doing at the end of the world? Are you busy? Will you save us?" def solve(): import sys input = sys.stdin.read().split() q = int(input[0]) idx = 1 output = [] ...
rStar-Coder-seed
73
poor
77
70
0
0
7.42
7
0.014286
1
18
0
0
0
fixed_part1 = "What are you doing while sending " # 33 characters fixed_part2 = " Are you busy? Will you send " # 29 characters f0_str = "What are you doing at the end of the world? Are you busy? Will you save us?" # length 75 def solve(): import sys input = sys.stdin.read().split() q = int(input[0])...
rStar-Coder-seed
62
poor
82
68
0
0
5.81
10
0.058824
2
28
0
0
0
import bisect def main(): import sys input = sys.stdin.read().split() idx = 0 N, Q = int(input[idx]), int(input[idx+1]) idx +=2 s = input[idx] idx +=1 spec = input[idx] idx +=1 # Parse L and R into positions L = [] R = [] ptr = 0 for c in s: if c == 'L':...
rStar-Coder-seed
70
poor
141
113
0
0
7
5
0.097345
2
21
0
0
0
def main(): import sys input = sys.stdin.read().split() idx = 0 t = input[idx] idx += 1 U = int(input[idx]) idx += 1 updates = [] for _ in range(U): p = int(input[idx]) - 1 # converting to 0-based c = input[idx+1] updates.append((p, c)) idx += 2 ...
rStar-Coder-seed
62
poor
456
202
0
0
5.78
9
0.594059
3
143
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
135
104
0
0
3.86
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
135
104
0
0
3.86
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
141
110
0
0
4.21
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
141
110
0
0
4.21
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
133
102
0
0
4.04
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
133
102
0
0
4.04
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
139
108
0
0
4.1
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
139
108
0
0
4.1
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
143
112
0
0
4.31
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
143
112
0
0
4.31
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
131
100
0
0
3.92
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
131
100
0
0
3.92
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
142
111
0
0
3.94
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
142
111
0
0
3.94
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
133
102
0
0
4.04
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
133
102
0
0
4.04
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
146
115
0
0
4.36
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
146
115
0
0
4.36
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
4.12
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
4.12
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
135
104
0
0
3.86
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
135
104
0
0
3.86
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
131
100
0
0
3.92
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
139
108
0
0
4.1
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
139
108
0
0
4.1
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
131
100
0
0
3.92
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
132
101
0
0
3.67
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
132
101
0
0
3.67
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
134
103
0
0
4.1
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
134
103
0
0
4.1
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
135
104
0
0
4.16
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
135
104
0
0
4.16
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
135
104
0
0
4.16
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
132
101
0
0
3.98
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
133
102
0
0
4.04
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
133
102
0
0
4.04
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
133
102
0
0
4.04
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
138
107
0
0
3.94
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.88
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.88
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.98
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.98
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.82
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
132
101
0
0
3.67
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
132
101
0
0
3.67
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.88
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.88
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.88
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
136
105
0
0
3.92
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
134
103
0
0
4.1
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
134
103
0
0
4.1
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
134
103
0
0
4.1
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
134
103
0
0
4.1
6
0
2
13
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
138
107
0
0
4.04
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
138
107
0
0
4.04
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
140
109
0
0
4.15
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
140
109
0
0
4.15
6
0
2
14
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.88
6
0
2
15
0
0
0
import sys import time import itertools from itertools import accumulate, product, permutations, combinations import collections from collections import Counter, OrderedDict, deque, defaultdict, ChainMap from functools import lru_cache import math from math import sqrt, sin, cos, tan, ceil, fabs, floor, gcd, exp, log, ...
BigOBench
70
poor
137
106
0
0
3.88
6
0
2
15
0
0
0
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Low Quality Code Dataset

Overview

This dataset contains 444 Python code samples with poor quality scores (62-74 out of 100).

These samples can be used for:

  • Training models to recognize bad code patterns
  • Contrastive learning (good vs bad code)
  • Code quality classification tasks

Statistics

Metric Value
Total samples 444
Quality range 62-74
Average quality ~70

Source Distribution

Source Count
BigOBench 425
OpenCodeReasoning-0 9
rStar-Coder-seed 6
rStar-Coder-synthetic 3
OpenCodeReasoning-1 1

Common Issues in Poor Quality Code

  • Long methods (>50 lines)
  • Deep nesting (5+ levels)
  • Low/no comments
  • High cyclomatic complexity
  • PEP8 violations

Fields

Field Description
code The Python code snippet
source_dataset Original dataset
quality_score Overall quality (62-74)
quality_tier "poor"
loc Lines of code
pylint_score Pylint score (0-10)
nesting_depth_max Maximum nesting

Usage

from datasets import load_dataset

dataset = load_dataset("happylife365/code-quality-poor")

Related Dataset


Generated: 2026-02-04

Downloads last month
2