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

# InputControlCode
STOP = 0
ROW_META = 1
ROW = 2

# OutputControlCode
SUCCESS = 0
ERROR = 1

# ValueMetaInterface types
TYPE_STRING = 2
TYPE_INTEGER = 5

# ValueMetaInterface storage types
TYPE_NORMAL = 0

# ValueMetaInterface trim types
TRIM_TYPE_NONE = 0

class ValueMetaFactory(object):
  def __init__(self):
    self.factories = {}

  def create(self, metaType, name):
    return self.factories[metaType](name)

valueMetaFactory = ValueMetaFactory()
<commit_msg>cleanup<commit_after>#!/usr/bin/env python

# ValueMetaInterface types
TYPE_STRING = 2
TYPE_INTEGER = 5

# ValueMetaInterface storage types
TYPE_NORMAL = 0

# ValueMetaInterface trim types
TRIM_TYPE_NONE = 0

class ValueMetaFactory(object):
  def __init__(self):
    self.factories = {}

  def create(self, metaType, name):
    return self.factories[metaType](name)

valueMetaFactory = ValueMetaFactory()

{'fraction_non_alphanumeric': 0.09130913091309131, 'fraction_numerical': 0.014301430143014302, 'mean_word_length': 5.066666666666666, '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': '4963131', 'n_tokens_mistral': 309, 'n_tokens_neox': 293, 'n_words': 74}