<commit_before>'use strict';

const KMS = require('../../kms');
const Err = require('./error');
const upload = require('multer')();
const rp = require('request-promise');
let version;

try {
  version = require('../../../package.json').version;
} catch (ex) {
  version = '0.0.0';
}

// Hit the Vault health check endpoint to see if we're actually working with a Vault server

<commit_msg>Pointed version retrieval at version.json file.<commit_after>'use strict';

const KMS = require('../../kms');
const Err = require('./error');
const upload = require('multer')();
const rp = require('request-promise');
let version;

try {
  version = require('../../../version.json').version;
} catch (ex) {
  version = '0.0.0';
}

// Hit the Vault health check endpoint to see if we're actually working with a Vault server


{'fraction_non_alphanumeric': 0.18472906403940886, 'fraction_numerical': 0.007389162561576354, 'mean_word_length': 3.7267441860465116, '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': '3715823', 'n_tokens_mistral': 250, 'n_tokens_neox': 245, 'n_words': 83}