<commit_before>import os

LOWAGE = 15
UPAGE = 70
MAXAGE = 120

DATADIR = '/home/pieter/projects/factors/data'
INFILE = 'lifedb.xls'

XLSWB = os.path.join(DATADIR, INFILE)

INSURANCE_IDS = ['OPLL', 'NPLL-B', 'NPLL-O',
                 'NPLLRS', 'NPTL-B', 'NPTL-O', 'ay_avg']<commit_msg>Make DATADIR absolute path agnostic<commit_after>import os


LOWAGE = 15
UPAGE = 70
MAXAGE = 120

DATADIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data')
INFILE = 'lifedb.xls'

XLSWB = os.path.join(DATADIR, INFILE)

INSURANCE_IDS = ['OPLL', 'NPLL-B', 'NPLL-O',
                 'NPLLRS', 'NPTL-B', 'NPTL-O', 'ay_avg']
{'fraction_non_alphanumeric': 0.17713365539452497, 'fraction_numerical': 0.02254428341384863, 'mean_word_length': 3.712121212121212, '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': '1242038', 'n_tokens_mistral': 299, 'n_tokens_neox': 272, 'n_words': 50}