<commit_before>'use strict';

const Confidence = require('confidence');

const criteria = {
    env: process.env.NODE_ENV
};

const config = {
    $meta: 'This file configures the Make Change API',
    projectName: 'make-change-api',
    port: {
        api: {
            $filter: 'env',
            test: 9090,
            $default: 8080
        }
    }
};

const store = new Confidence.Store(config);

exports.get = function (key) {<commit_msg>use $PORT env var in heroku<commit_after>'use strict';

const Confidence = require('confidence');

const criteria = {
    env: process.env.NODE_ENV
};

const config = {
    $meta: 'This file configures the Make Change API',
    projectName: 'make-change-api',
    port: {
        api: {
            $filter: 'env',
            test: 9090,
            $default: process.env.PORT || 8080
        }
    }
};

const store = new Confidence.Store(config);

exports.get = function (key) {
{'fraction_non_alphanumeric': 0.13254310344827586, 'fraction_numerical': 0.017241379310344827, 'mean_word_length': 2.3905109489051095, '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': '6358402', 'n_tokens_mistral': 302, 'n_tokens_neox': 287, 'n_words': 78}