<commit_before>#!/usr/bin/env python

from validictory.validator import SchemaValidator

__all__ = [ 'validate', 'SchemaValidator' ]
__version__ = '0.5.0'

def validate(data, schema, validator_cls=SchemaValidator):
    '''<commit_msg>bump version to 0.6-dev<commit_after>#!/usr/bin/env python

from validictory.validator import SchemaValidator

__all__ = [ 'validate', 'SchemaValidator' ]
__version__ = '0.6.0-dev'

def validate(data, schema, validator_cls=SchemaValidator):
    '''
{'fraction_non_alphanumeric': 0.13485477178423236, 'fraction_numerical': 0.016597510373443983, 'mean_word_length': 5.802816901408451, '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': '6577826', 'n_tokens_mistral': 162, 'n_tokens_neox': 160, 'n_words': 33}