<commit_before>__author__ = '700608667'

import unittest
import os
import re

class TestTasks(unittest.TestCase):

    blueprint_root_dir = '..'
    blueprint_file_pattern = '.*blueprint.*yaml'

    def step(self, ext, dirname, names):
        for name in names:
            if (re.match(self.blueprint_file_pattern, name)):
                print('found blueprint file {}'.format(name))

    def validate_all_blueprints(self):
        for root, dirs, files in os.walk(self.blueprint_root_dir):
            for file in files:
                if re.match(self.blueprint_file_pattern, file):
                    print('found blueprint file {}'.format(file))

    def test_temp(self):
        self.validate_all_blueprints()<commit_msg>Added TODO note to come back and add real validation call<commit_after>__author__ = '700608667'

import unittest
import os
import re

class TestTasks(unittest.TestCase):

    blueprint_root_dir = '..'
    blueprint_file_pattern = '.*blueprint.*yaml'

    def step(self, ext, dirname, names):
        for name in names:
            if (re.match(self.blueprint_file_pattern, name)):
                print('found blueprint file {}'.format(name))

    def validate_all_blueprints(self):
        for root, dirs, files in os.walk(self.blueprint_root_dir):
            for file in files:
                if re.match(self.blueprint_file_pattern, file):
                    print('found blueprint file {}'.format(file))
                    #TODO add real validation here

    def test_temp(self):
        self.validate_all_blueprints()
{'fraction_non_alphanumeric': 0.10083493898522801, 'fraction_numerical': 0.011560693641618497, 'mean_word_length': 2.6745283018867925, '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': '2659196', 'n_tokens_mistral': 477, 'n_tokens_neox': 451, 'n_words': 116}