<commit_before>import psycopg2 as pgsql #for postgresql interaction
import logging

#logging setup
logging.basicConfig(level=logging.INFO)#adjust level to see different levels of stuff
logger = logging.getLogger(__name__)

try:
	conn = pgsql.connect("dbname='users' user='postgres' host='localhost' password='<PASSWORD>'")
except:
    logger.info("I am unable to connect to the database")

c = conn.cursor()#We have to define a connection cursor in order to execute commands


try:
	('''SELECT * FROM  users''')
except:
	c.execute('''CREATE TABLE users(username text, tableadress int,userpath text)''')
	logger.info("Table filemap doesn't exsist creating it")

try:
	('''SELECT * FROM  newusers''')
except:
	c.execute('''CREATE TABLE newusers(username text)''')
	logger.info("Table newusers doesn't exsist creating it")<commit_msg>server_cred defaulted<commit_after>import psycopg2 as pgsql #for postgresql interaction
import logging

#logging setup
logging.basicConfig(level=logging.INFO)#adjust level to see different levels of stuff
logger = logging.getLogger(__name__)

try:
	conn = pgsql.connect("dbname='users' user='postgres' host='localhost' password='<PASSWORD>'")
except:
    logger.info("I am unable to connect to the database")

c = conn.cursor()#We have to define a connection cursor in order to execute commands


try:
	('''SELECT * FROM  users''')
except:
	c.execute('''CREATE TABLE users(username text, tableadress int,userpath text)''')
	logger.info("Table filemap doesn't exsist creating it")

try:
	('''SELECT * FROM  newusers''')
except:
	c.execute('''CREATE TABLE newusers(username text)''')
	logger.info("Table newusers doesn't exsist creating it")
{'fraction_non_alphanumeric': 0.12574850299401197, 'fraction_numerical': 0.0011976047904191617, 'mean_word_length': 6.202586206896552, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5140843', 'n_tokens_mistral': 509, 'n_tokens_neox': 502, 'n_words': 164}