<commit_before>const path = require('path')

const isDev = process.env.NODE_ENV !== 'production'
const isProd = process.env.NODE_ENV === 'production'
const root = path.normalize(`${__dirname}/..`)

const config = {
  root,
  buildDir: path.join(root, '.build'),
  env: process.env.NODE_ENV,
  ci: process.env.CI,
  isDev,<commit_msg>guard against "OAUTH2_DEV_TOKEN" being allowed in production<commit_after>const path = require('path')

const isDev = process.env.NODE_ENV !== 'production'
const isProd = process.env.NODE_ENV === 'production'
const root = path.normalize(`${__dirname}/..`)

if (isProd && process.env['OAUTH2_DEV_TOKEN']) {
  throw new Error('Environment variable "OAUTH2_DEV_TOKEN" not allowed in Production')
}

const config = {
  root,
  buildDir: path.join(root, '.build'),
  env: process.env.NODE_ENV,
  ci: process.env.CI,
  isDev,
{'fraction_non_alphanumeric': 0.15610328638497653, 'fraction_numerical': 0.0035211267605633804, 'mean_word_length': 5.007042253521127, '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': '4176810', 'n_tokens_mistral': 290, 'n_tokens_neox': 292, 'n_words': 67}