<commit_before>/**
 * Load configuration objects
 */
import path from 'path'
import * as databaseConfig from './database'
import * as redisConfig from './redis'
import * as awsConfig from './aws'

// Environment
export const env = process.env.NODE_ENV || 'development'

// Server
export const keys = ['keys']

// Database, Redis, AWS
export const database = databaseConfig[env]
export const redis = redisConfig[env]
export const aws = awsConfig[env]

// Assets path
export const assetsPath = path.resolve(__dirname, '../build/assets')

// Image root url
// export const imageRoot = `//localhost:10001/${aws.bucket}`

// Queue names
export const PROCESS_IMAGE_WORKER_QUEUE = 'PROCESS_IMAGE_WORKER_QUEUE'
export const IMAGE_UPDATES_WORKER_QUEUE = 'IMAGE_UPDATES_WORKER_QUEUE'
export const VOTE_UPDATES_WORKER_QUEUE = 'VOTE_UPDATES_WORKER_QUEUE'
<commit_msg>Rename asset part and remove image root<commit_after>/**
 * Load configuration objects
 */
import path from 'path'
import * as databaseConfig from './database'
import * as redisConfig from './redis'
import * as awsConfig from './aws'

// Environment
export const env = process.env.NODE_ENV || 'development'

// Server
export const keys = ['keys']

// Database, Redis, AWS
export const database = databaseConfig[env]
export const redis = redisConfig[env]
export const aws = awsConfig[env]

// Assets path
export const ASSETS_PATH = path.resolve(__dirname, '../build/assets')

// Queue names
export const PROCESS_IMAGE_WORKER_QUEUE = 'PROCESS_IMAGE_WORKER_QUEUE'
export const IMAGE_UPDATES_WORKER_QUEUE = 'IMAGE_UPDATES_WORKER_QUEUE'
export const VOTE_UPDATES_WORKER_QUEUE = 'VOTE_UPDATES_WORKER_QUEUE'

{'fraction_non_alphanumeric': 0.10446859903381643, 'fraction_numerical': 0.0030193236714975845, 'mean_word_length': 5.137037037037037, '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': '5150836', 'n_tokens_mistral': 530, 'n_tokens_neox': 527, 'n_words': 153}