<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pyhdb
import config

# Creates the desired databases

try:
	connection = pyhdb.connect(
		host=config.login["host"],
		port=config.login["port"],
		user=config.login["SYSTEM"],
		password=config.login["<PASSWORD>"]
	)
#return connection
except Exception as e:
	print('Connection Failed!\nError Code is %s;\nError Content is %s;' % (e.args[0],e.args[1]))	

cursor = connection.cursor()
# cursor.execute("SELECT 'Hello Python World' FROM DUMMY")
# cursor.fetchone()

connection.close()<commit_msg>Small update<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pyhdb
import config

# Creates the desired databases

try:
	connection = pyhdb.connect(
		host=config.login["host"],
		port=config.login["port"],
		user=config.login["user"],
		password=config.login["password"]
	)
#return connection
except Exception as e:
	print('Connection Failed!\nError Code is %s;\nError Content is %s;' % (e.args[0],e.args[1]))	

# cursor = connection.cursor()
# cursor.execute("SELECT 'Hello Python World' FROM DUMMY")
# cursor.fetchone()

# connection.close()
{'fraction_non_alphanumeric': 0.1671111111111111, 'fraction_numerical': 0.005333333333333333, 'mean_word_length': 5.119565217391305, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2733222', 'n_tokens_mistral': 385, 'n_tokens_neox': 370, 'n_words': 88}