<commit_before># -*- coding: utf-8 -*-

from test.proto import TestBase


class Test(TestBase):


    def test_headerstypes(self):
        b = self.import_single_bundle('ingest.example.com/headerstypes')
        try:
            b.ingest()
        finally:
            b.close()

    def test_basic(self):
        b = self.import_single_bundle('ingest.example.com/basic')
        try:
            b.ingest()
        finally:
            b.clean_all()
            b.close()

    def test_stages(self):
        b = self.import_single_bundle('ingest.example.com/stages')
        try:
            b.run_stages()
        finally:
            b.clean_all()
            b.close()

    def test_casters(self):
        b = self.import_single_bundle('build.example.com/casters')
        try:
            b.ingest()
            b.source_schema()
            b.schema()
            b.build()
        finally:
            b.clean_all()
            b.close()

    def test_coverage(self):
        b = self.import_single_bundle('build.example.com/coverage')
        try:
            b.ingest()
            b.source_schema()
            b.schema()
            b.build()
        finally:
            b.clean_all()
            b.close()

    def test_generators(self):
        b = self.import_single_bundle('build.example.com/generators')
        try:
            b.run()
        finally:
            b.clean_all()
            b.close()

<commit_msg>Cosmetics. #187.<commit_after># -*- coding: utf-8 -*-

from test.proto import TestBase


class Test(TestBase):

    def test_headerstypes(self):
        b = self.import_single_bundle('ingest.example.com/headerstypes')
        try:
            b.ingest()
        finally:
            b.close()

    def test_basic(self):
        b = self.import_single_bundle('ingest.example.com/basic')
        try:
            b.ingest()
        finally:
            b.clean_all()
            b.close()

    def test_stages(self):
        b = self.import_single_bundle('ingest.example.com/stages')
        try:
            b.run_stages()
        finally:
            b.clean_all()
            b.close()

    def test_casters(self):
        b = self.import_single_bundle('build.example.com/casters')
        try:
            b.ingest()
            b.source_schema()
            b.schema()
            b.build()
        finally:
            b.clean_all()
            b.close()

    def test_coverage(self):
        b = self.import_single_bundle('build.example.com/coverage')
        try:
            b.ingest()
            b.source_schema()
            b.schema()
            b.build()
        finally:
            b.clean_all()
            b.close()

    def test_generators(self):
        b = self.import_single_bundle('build.example.com/generators')
        try:
            b.run()
        finally:
            b.clean_all()
            b.close()

{'fraction_non_alphanumeric': 0.11902268760907504, 'fraction_numerical': 0.0017452006980802793, 'mean_word_length': 1.4495726495726495, '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': '1533373', 'n_tokens_mistral': 885, 'n_tokens_neox': 877, 'n_words': 137}