code
stringlengths
34
493
label
class label
2 classes
def my_function(): print('Hello, world!') # End of block if x > 0: for i in range(5): if x > 0: def my_function(): for i in range(5): for i in range(5): # End of block # End of block # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: print('Hello, world!') print('Hello, world!') # End of block if x > 0: # End of block
1compliant
for i in range(5): # End of block def my_function(): if x > 0: # End of block # End of block
1compliant
for i in range(5): print('Hello, world!') for i in range(5): print('Hello, world!') if x > 0: if x > 0: # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: print('Hello, world!') def my_function(): if x > 0: def my_function(): def my_function(): print('Hello, world!') # End of block # End of block # End of block # End of block # End of block
1compliant
def my_function(): if x > 0: if x > 0: print('Hello, world!') print('Hello, world!') # End of block def my_function(): # End of block # End of block # End of block
0non-compliant
def my_function(): for i in range(5): if x > 0: def my_function(): print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: # End of block def my_function(): print('Hello, world!') for i in range(5): for i in range(5): # End of block # End of block # End of block
1compliant
def my_function(): # End of block if x > 0: def my_function(): # End of block # End of block
1compliant
for i in range(5): for i in range(5): print('Hello, world!') for i in range(5): print('Hello, world!') # End of block if x > 0: if x > 0: print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block # End of block
1compliant
for i in range(5): def my_function(): print('Hello, world!') def my_function(): print('Hello, world!') for i in range(5): # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: if x > 0: print('Hello, world!') if x > 0: if x > 0: # End of block # End of block # End of block # End of block
1compliant
if x > 0: for i in range(5): def my_function(): print('Hello, world!') # End of block print('Hello, world!') print('Hello, world!') # End of block # End of block
0non-compliant
if x > 0: def my_function(): def my_function(): for i in range(5): if x > 0: # End of block # End of block # End of block # End of block # End of block
0non-compliant
for i in range(5): # End of block if x > 0: # End of block for i in range(5): if x > 0: # End of block # End of block
0non-compliant
def my_function(): print('Hello, world!') print('Hello, world!') # End of block
1compliant
def my_function(): for i in range(5): # End of block if x > 0: for i in range(5): print('Hello, world!') # End of block # End of block # End of block
1compliant
for i in range(5): if x > 0: for i in range(5): # End of block def my_function(): if x > 0: print('Hello, world!') for i in range(5): # End of block # End of block # End of block # End of block # End of block
1compliant
for i in range(5): def my_function(): if x > 0: def my_function(): if x > 0: # End of block # End of block # End of block # End of block # End of block
1compliant
if x > 0: for i in range(5): # End of block for i in range(5): for i in range(5): for i in range(5): if x > 0: # End of block # End of block # End of block # End of block # End of block
1compliant
if x > 0: # End of block for i in range(5): if x > 0: if x > 0: # End of block # End of block # End of block
1compliant
def my_function(): if x > 0: def my_function(): print('Hello, world!') if x > 0: for i in range(5): if x > 0: # End of block print('Hello, world!') def my_function(): # End of block # End of block # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: print('Hello, world!') def my_function(): # End of block # End of block def my_function(): def my_function(): if x > 0: # End of block def my_function(): # End of block # End of block # End of block
0non-compliant
if x > 0: def my_function(): def my_function(): # End of block if x > 0: for i in range(5): def my_function(): for i in range(5): # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
for i in range(5): for i in range(5): for i in range(5): print('Hello, world!') if x > 0: if x > 0: print('Hello, world!') for i in range(5): # End of block # End of block # End of block # End of block # End of block # End of block
0non-compliant
def my_function(): print('Hello, world!') print('Hello, world!') print('Hello, world!') if x > 0: if x > 0: # End of block # End of block # End of block
0non-compliant
if x > 0: if x > 0: if x > 0: for i in range(5): if x > 0: # End of block def my_function(): # End of block # End of block # End of block # End of block # End of block
0non-compliant
for i in range(5): def my_function(): # End of block def my_function(): print('Hello, world!') def my_function(): print('Hello, world!') # End of block for i in range(5): # End of block # End of block # End of block
0non-compliant
if x > 0: print('Hello, world!') print('Hello, world!') for i in range(5): print('Hello, world!') # End of block def my_function(): def my_function(): def my_function(): # End of block # End of block # End of block # End of block
0non-compliant
def my_function(): def my_function(): def my_function(): # End of block # End of block print('Hello, world!') if x > 0: if x > 0: for i in range(5): # End of block # End of block # End of block # End of block
0non-compliant
for i in range(5): def my_function(): # End of block def my_function(): # End of block # End of block
1compliant
def my_function(): # End of block if x > 0: if x > 0: for i in range(5): if x > 0: # End of block # End of block # End of block # End of block
0non-compliant
def my_function(): if x > 0: for i in range(5): if x > 0: if x > 0: # End of block # End of block print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block
0non-compliant
if x > 0: def my_function(): print('Hello, world!') # End of block print('Hello, world!') if x > 0: # End of block # End of block
1compliant
def my_function(): print('Hello, world!') def my_function(): if x > 0: if x > 0: # End of block # End of block # End of block # End of block
1compliant
def my_function(): for i in range(5): def my_function(): if x > 0: for i in range(5): print('Hello, world!') def my_function(): print('Hello, world!') # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
def my_function(): print('Hello, world!') if x > 0: # End of block # End of block
1compliant
if x > 0: def my_function(): for i in range(5): if x > 0: for i in range(5): def my_function(): # End of block for i in range(5): # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
def my_function(): # End of block def my_function(): # End of block def my_function(): for i in range(5): def my_function(): # End of block # End of block # End of block
0non-compliant
for i in range(5): if x > 0: if x > 0: def my_function(): # End of block # End of block # End of block # End of block
0non-compliant
for i in range(5): if x > 0: if x > 0: # End of block print('Hello, world!') if x > 0: # End of block print('Hello, world!') for i in range(5): # End of block # End of block # End of block
1compliant
for i in range(5): for i in range(5): print('Hello, world!') def my_function(): if x > 0: # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: print('Hello, world!') def my_function(): print('Hello, world!') if x > 0: # End of block # End of block # End of block
0non-compliant
def my_function(): for i in range(5): def my_function(): for i in range(5): print('Hello, world!') print('Hello, world!') for i in range(5): def my_function(): # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
if x > 0: print('Hello, world!') print('Hello, world!') # End of block def my_function(): if x > 0: def my_function(): # End of block # End of block # End of block
0non-compliant
if x > 0: if x > 0: for i in range(5): # End of block for i in range(5): print('Hello, world!') def my_function(): # End of block if x > 0: # End of block # End of block # End of block # End of block
1compliant
for i in range(5): print('Hello, world!') for i in range(5): # End of block # End of block if x > 0: for i in range(5): # End of block # End of block
0non-compliant
for i in range(5): if x > 0: for i in range(5): def my_function(): for i in range(5): # End of block # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: for i in range(5): for i in range(5): print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block
1compliant
def my_function(): def my_function(): def my_function(): for i in range(5): for i in range(5): def my_function(): if x > 0: print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
if x > 0: if x > 0: if x > 0: for i in range(5): # End of block # End of block def my_function(): def my_function(): # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: def my_function(): if x > 0: if x > 0: # End of block print('Hello, world!') # End of block # End of block # End of block
0non-compliant
if x > 0: if x > 0: def my_function(): print('Hello, world!') def my_function(): for i in range(5): if x > 0: # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
def my_function(): def my_function(): for i in range(5): # End of block for i in range(5): print('Hello, world!') def my_function(): if x > 0: # End of block # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: # End of block for i in range(5): if x > 0: # End of block def my_function(): for i in range(5): # End of block # End of block # End of block
0non-compliant
def my_function(): print('Hello, world!') if x > 0: # End of block print('Hello, world!') if x > 0: if x > 0: for i in range(5): print('Hello, world!') # End of block # End of block # End of block # End of block
1compliant
if x > 0: # End of block if x > 0: print('Hello, world!') if x > 0: # End of block # End of block
1compliant
if x > 0: print('Hello, world!') if x > 0: for i in range(5): if x > 0: # End of block # End of block # End of block # End of block
1compliant
def my_function(): if x > 0: if x > 0: def my_function(): print('Hello, world!') # End of block # End of block # End of block # End of block
1compliant
if x > 0: # End of block def my_function(): print('Hello, world!') print('Hello, world!') # End of block
1compliant
if x > 0: # End of block for i in range(5): if x > 0: for i in range(5): def my_function(): # End of block # End of block # End of block # End of block
1compliant
if x > 0: def my_function(): # End of block # End of block for i in range(5): # End of block
0non-compliant
def my_function(): for i in range(5): for i in range(5): print('Hello, world!') # End of block # End of block # End of block
1compliant
for i in range(5): def my_function(): for i in range(5): for i in range(5): def my_function(): # End of block # End of block # End of block # End of block # End of block
1compliant
if x > 0: print('Hello, world!') if x > 0: def my_function(): # End of block # End of block # End of block
0non-compliant
for i in range(5): print('Hello, world!') for i in range(5): print('Hello, world!') print('Hello, world!') def my_function(): def my_function(): print('Hello, world!') def my_function(): if x > 0: # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
if x > 0: # End of block for i in range(5): # End of block
1compliant
for i in range(5): if x > 0: # End of block # End of block
0non-compliant
def my_function(): # End of block def my_function(): if x > 0: for i in range(5): # End of block def my_function(): for i in range(5): print('Hello, world!') # End of block # End of block # End of block # End of block
0non-compliant
def my_function(): # End of block if x > 0: def my_function(): def my_function(): if x > 0: # End of block for i in range(5): def my_function(): def my_function(): # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
for i in range(5): print('Hello, world!') def my_function(): # End of block if x > 0: # End of block for i in range(5): # End of block # End of block
1compliant
def my_function(): for i in range(5): print('Hello, world!') print('Hello, world!') for i in range(5): # End of block # End of block # End of block
0non-compliant
if x > 0: if x > 0: if x > 0: if x > 0: def my_function(): if x > 0: if x > 0: print('Hello, world!') # End of block # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
def my_function(): for i in range(5): for i in range(5): print('Hello, world!') def my_function(): # End of block # End of block # End of block # End of block
0non-compliant
for i in range(5): def my_function(): print('Hello, world!') # End of block if x > 0: if x > 0: if x > 0: def my_function(): def my_function(): # End of block # End of block # End of block # End of block # End of block # End of block
1compliant
for i in range(5): # End of block if x > 0: for i in range(5): if x > 0: # End of block if x > 0: # End of block # End of block # End of block
0non-compliant
for i in range(5): def my_function(): for i in range(5): # End of block if x > 0: # End of block def my_function(): for i in range(5): if x > 0: # End of block # End of block # End of block # End of block # End of block
1compliant
def my_function(): # End of block for i in range(5): if x > 0: def my_function(): # End of block # End of block # End of block
1compliant
for i in range(5): print('Hello, world!') if x > 0: for i in range(5): if x > 0: # End of block print('Hello, world!') # End of block # End of block # End of block
0non-compliant
for i in range(5): for i in range(5): for i in range(5): # End of block # End of block print('Hello, world!') for i in range(5): # End of block # End of block
0non-compliant
if x > 0: for i in range(5): if x > 0: # End of block def my_function(): if x > 0: for i in range(5): for i in range(5): print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: # End of block for i in range(5): def my_function(): if x > 0: print('Hello, world!') # End of block # End of block # End of block
0non-compliant
def my_function(): def my_function(): print('Hello, world!') # End of block # End of block
0non-compliant
for i in range(5): if x > 0: # End of block for i in range(5): for i in range(5): def my_function(): # End of block print('Hello, world!') if x > 0: # End of block # End of block # End of block # End of block
1compliant
if x > 0: print('Hello, world!') for i in range(5): # End of block if x > 0: if x > 0: # End of block if x > 0: # End of block # End of block # End of block
1compliant
for i in range(5): # End of block if x > 0: def my_function(): # End of block print('Hello, world!') # End of block if x > 0: print('Hello, world!') # End of block
0non-compliant
if x > 0: def my_function(): def my_function(): def my_function(): # End of block # End of block # End of block # End of block
0non-compliant
def my_function(): if x > 0: for i in range(5): def my_function(): print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block # End of block
1compliant
for i in range(5): if x > 0: # End of block for i in range(5): # End of block def my_function(): for i in range(5): for i in range(5): # End of block if x > 0: # End of block # End of block # End of block # End of block
0non-compliant
def my_function(): # End of block if x > 0: def my_function(): # End of block def my_function(): def my_function(): def my_function(): # End of block # End of block # End of block # End of block
0non-compliant
for i in range(5): print('Hello, world!') def my_function(): if x > 0: print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block
1compliant
def my_function(): if x > 0: print('Hello, world!') if x > 0: print('Hello, world!') # End of block # End of block # End of block
0non-compliant
def my_function(): for i in range(5): def my_function(): def my_function(): print('Hello, world!') def my_function(): print('Hello, world!') print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block # End of block # End of block
0non-compliant
if x > 0: def my_function(): print('Hello, world!') # End of block print('Hello, world!') if x > 0: # End of block # End of block
0non-compliant
if x > 0: if x > 0: def my_function(): if x > 0: if x > 0: for i in range(5): for i in range(5): def my_function(): # End of block # End of block # End of block # End of block # End of block # End of block # End of block # End of block
0non-compliant
for i in range(5): print('Hello, world!') for i in range(5): def my_function(): # End of block if x > 0: def my_function(): print('Hello, world!') print('Hello, world!') # End of block # End of block # End of block # End of block
1compliant
for i in range(5): for i in range(5): # End of block def my_function(): # End of block def my_function(): def my_function(): if x > 0: print('Hello, world!') def my_function(): # End of block # End of block # End of block # End of block # End of block
0non-compliant
def my_function(): if x > 0: for i in range(5): if x > 0: if x > 0: # End of block for i in range(5): # End of block # End of block # End of block # End of block # End of block
1compliant
if x > 0: def my_function(): for i in range(5): for i in range(5): print('Hello, world!') if x > 0: for i in range(5): print('Hello, world!') # End of block # End of block # End of block # End of block # End of block # End of block
0non-compliant
for i in range(5): print('Hello, world!') if x > 0: def my_function(): if x > 0: def my_function(): for i in range(5): # End of block # End of block # End of block # End of block # End of block # End of block
0non-compliant
README.md exists but content is empty.
Downloads last month
40