<commit_before>import model


def verify(condition, error):
    if not condition:
        print error

model.randomize()

num_colours = 0
colours = []

for row in model.data:
    for col in row:
        if col not in colours:
            num_colours += 1
            colours.append(col)

verify(num_colours == 5, 'Wrong amount of colours')

print 'END'
<commit_msg>simple unit tests<commit_after>#!/usr/bin/env python3
import model


def verify(condition, error):
    if not condition:
        print(error)

model.randomize()

num_colours = 0
colours = []

for row in model.data:
    for col in row:
        if col not in colours:
            num_colours += 1
            colours.append(col)

verify(num_colours == 5, 'Wrong amount of colours')

print('END')

{'fraction_non_alphanumeric': 0.09881422924901186, 'fraction_numerical': 0.00922266139657444, 'mean_word_length': 2.6538461538461537, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1282062', 'n_tokens_mistral': 252, 'n_tokens_neox': 244, 'n_words': 78}