<commit_before>var path = require('path');
var rootPath = path.normalize(__dirname + '/..');
var env = process.env.NODE_ENV || 'development';

var config = {
  development: {
    root: rootPath,
    app: {
      name: 'dev'
    },
    port: 3000,
    db: 'mongodb://localhost/dev-development'
  },

  test: {
    root: rootPath,
    app: {
      name: 'test'
    },
    port: 3000,
    db: 'mongodb://localhost/dev-test'
  },

  production: {
    root: rootPath,
    app: {
      name: 'prod'
    },
    port: 3000,
    db: 'mongodb://localhost/dev-production'<commit_msg>add aws env var<commit_after>var path = require('path');
var AWS = require('aws-sdk');
var rootPath = path.normalize(__dirname + '/..');
var env = process.env.NODE_ENV || 'development';

//change in credentials.json?
var accessKeyId =  process.env.AWS_ACCESS_KEY || '<KEY>';
var secretAccessKey = process.env.AWS_SECRET_KEY || "<KEY>";

//updata amazon credentials
AWS.config.update({accessKeyId: accessKeyId, secretAccessKey: secretAccessKey});

var config = {
  development: {
    root: rootPath,
    app: {
      name: 'dev'
    },
    port: 3000,
    db: 'mongodb://localhost/dev-development'
  },

  test: {
    root: rootPath,
    app: {
      name: 'test'
    },
    port: 3000,
    db: 'mongodb://localhost/dev-test'
  },

  production: {
    root: rootPath,
    app: {
      name: 'prod'
    },
    port: 3000,
    db: 'mongodb://localhost/dev-production'
{'fraction_non_alphanumeric': 0.16504178272980502, 'fraction_numerical': 0.016713091922005572, 'mean_word_length': 2.751958224543081, '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': '1834051', 'n_tokens_mistral': 532, 'n_tokens_neox': 494, 'n_words': 107}