<commit_before>#!/usr/bin/python
"""common.py: common functions for exhibitvideo video player system
Author: <NAME> (<EMAIL>)
Copyright: 2017, MIT"""

# -*- coding: iso-8859-15 -*-
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4

from time import sleep, time
import sys
import logging

# local modules
from config import *


#
# Globals
#

# we only report each error periodically,
# so we keep a record of last report time
last_report_time = {}
# report interval in seconds
report_interval = 5

# we only report each DEBUG msg periodically,
# so we keep a record of last debug time
last_debug_time = {}
# report interval in seconds
debug_interval = 1<commit_msg>Added attribution variables<commit_after>#!/usr/bin/python
"""common.py: common functions for exhibitvideo video player system
Author: <NAME> (<EMAIL>)
Copyright: 2017, MIT"""

# -*- coding: iso-8859-15 -*-
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4

__appname__ = "exhibitvideo.py"
__author__  = "<NAME> <<EMAIL>>"
__version__ = "1.0pre0"
__license__ = "MIT"

from time import sleep, time
import sys
import logging

# local modules
from config import *


#
# Globals
#

# we only report each error periodically,
# so we keep a record of last report time
last_report_time = {}
# report interval in seconds
report_interval = 5

# we only report each DEBUG msg periodically,
# so we keep a record of last debug time
last_debug_time = {}
# report interval in seconds
debug_interval = 1
{'fraction_non_alphanumeric': 0.09849521203830369, 'fraction_numerical': 0.022571819425444596, 'mean_word_length': 4.670542635658915, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '1934706', 'n_tokens_mistral': 475, 'n_tokens_neox': 441, 'n_words': 174}