<commit_before>// strip the last dir...  essentially the same as __dirname/..
var root = __dirname.replace(/\/[^\/]+\/?$/,'');

module.exports = {
	  port: 8001
	, public_dir: root + '/public'
	, db_name: 'wompt_dev'
	, root: root
	, app_host:  '127.0.0.1'
	, db_host:   '127.0.0.1'
	, auth_host: '127.0.0.1'
	
	, minify_assets: false
	
	, constants: {
		messages: {
				max_length: 256 * 16,
				max_shown: 10
		}
	}
}
<commit_msg>Change number of messages to show in the UI to 500 from 10<commit_after>// strip the last dir...  essentially the same as __dirname/..
var root = __dirname.replace(/\/[^\/]+\/?$/,'');

module.exports = {
	  port: 8001
	, public_dir: root + '/public'
	, db_name: 'wompt_dev'
	, root: root
	, app_host:  '127.0.0.1'
	, db_host:   '127.0.0.1'
	, auth_host: '127.0.0.1'
	
	, minify_assets: false
	
	, constants: {
		messages: {
				max_length: 256 * 16,
				max_shown: 500
		}
	}
}

{'fraction_non_alphanumeric': 0.18461538461538463, 'fraction_numerical': 0.07032967032967033, 'mean_word_length': 2.688259109311741, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '4798812', 'n_tokens_mistral': 451, 'n_tokens_neox': 380, 'n_words': 88}