<commit_before># -*- coding: utf-8 -*-

""" RDB most simple handler i could write """

import os
import time
import glob
import commentjson as json

# This Rethinkdb reference is already connected at app init
from rethinkdb import r, RqlDriverError

from flask import g  # , url_for, redirect
from .connections import Connection
from ..base import ExtendedApiResource
from ... import htmlcodes as hcodes
from ...marshal import convert_to_marshal
from ... import get_logger

# Using docker, "**db**"" is my alias of the ReThinkDB container
RDB_HOST = "rdb"
RDB_PORT = 28015
# Models and paths
JSONS_PATH = 'models'
JSONS_EXT = '.json'
# Database and tables to use
APP_DB = "webapp"
DEFAULT_TABLE = "test"
ACTION_COLUMN = 'operation'<commit_msg>Probably a bug from the previous merge...<commit_after># -*- coding: utf-8 -*-

""" RDB most simple handler i could write """

import os
import time
import glob
import commentjson as json

# This Rethinkdb reference is already connected at app init
from rethinkdb import r, RqlDriverError

from flask import g, request  # , url_for, redirect
from .connections import Connection
from ..base import ExtendedApiResource
from ... import htmlcodes as hcodes
from ...marshal import convert_to_marshal
from ... import get_logger

# Using docker, "**db**"" is my alias of the ReThinkDB container
RDB_HOST = "rdb"
RDB_PORT = 28015
# Models and paths
JSONS_PATH = 'models'
JSONS_EXT = '.json'
# Database and tables to use
APP_DB = "webapp"
DEFAULT_TABLE = "test"
ACTION_COLUMN = 'operation'
{'fraction_non_alphanumeric': 0.08929743926460933, 'fraction_numerical': 0.007879185817465528, 'mean_word_length': 4.462365591397849, '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': '1351100', 'n_tokens_mistral': 473, 'n_tokens_neox': 449, 'n_words': 190}