<commit_before>#!/bin/env python
from __future__ import print_function

import unittest
import sys
import random

from chemicalite import ChemicaLiteTestCase

class TestRDtree(ChemicaLiteTestCase):

    def test_rdtree(self):
        self._create_vtab()

        c = self.db.cursor()
        
        d = next(c.execute("select count(*) from xyz"))[0]
        self.assertEqual(d, 0)

        self._fill_tree()
        
        d = next(c.execute("select count(*) from xyz"))[0]
        self.assertEqual(d, 256)

        for value in range(256):
            self._count_subset_matches(value)

    def test_github_00003(self):<commit_msg>small cleanup<commit_after>#!/bin/env python

import unittest
import sys
import random

from chemicalite import ChemicaLiteTestCase

class TestRDtree(ChemicaLiteTestCase):

    def test_rdtree(self):
        self._create_vtab()

        c = self.db.cursor()
        
        d = next(c.execute("select count(*) from xyz"))[0]
        self.assertEqual(d, 0)

        self._fill_tree()
        
        d = next(c.execute("select count(*) from xyz"))[0]
        self.assertEqual(d, 256)

        for value in range(256):
            self._count_subset_matches(value)

    def test_github_00003(self):
{'fraction_non_alphanumeric': 0.1085899513776337, 'fraction_numerical': 0.022690437601296597, 'mean_word_length': 2.697604790419162, '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': '1308622', 'n_tokens_mistral': 413, 'n_tokens_neox': 380, 'n_words': 86}