<commit_before>from boto.dynamodb2.fields import HashKey, RangeKey, AllIndex
from boto.dynamodb2.table import Table
from boto.dynamodb2.types import NUMBER


TABLE_NAME = "monitor_logs"

ENTRY_TYPE_PRESSURE = "pressure"
ENTRY_TYPE_UV = "uv"
ENTRY_TYPE_TEMPERATURE = "temperature"

ENTRY_TYPES = (
    (ENTRY_TYPE_TEMPERATURE, "Temperature"),
    (ENTRY_TYPE_UV, "UV"),
    (ENTRY_TYPE_PRESSURE, "Pressure"),
)


class DatabaseManager(object):<commit_msg>Updated params to use all available values<commit_after>from boto.dynamodb2.fields import HashKey, RangeKey, AllIndex
from boto.dynamodb2.table import Table
from boto.dynamodb2.types import NUMBER


TABLE_NAME = "monitor_logs"

ENTRY_TYPE_HUMIDITY = "humidity"
ENTRY_TYPE_TEMPERATURE = "temperature"
ENTRY_TYPE_UV = "uv"
ENTRY_TYPE_LUMINANCE = "luminance"
ENTRY_TYPE_LOUDNESS = "loudness"

ENTRY_TYPES = (
    (ENTRY_TYPE_TEMPERATURE, "Temperature"),
    (ENTRY_TYPE_HUMIDITY, "Humidity"),
    (ENTRY_TYPE_UV, "UV"),
    (ENTRY_TYPE_LOUDNESS, "Loudness"),
    (ENTRY_TYPE_LUMINANCE, "Luminance"),
)


class DatabaseManager(object):
{'fraction_non_alphanumeric': 0.1032258064516129, 'fraction_numerical': 0.005529953917050691, 'mean_word_length': 6.387755102040816, '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': '7174572', 'n_tokens_mistral': 406, 'n_tokens_neox': 393, 'n_words': 75}