<commit_before>var hapi = require('hapi');
GLOBAL.Parse = require('parse/node').Parse; // add parse
var Inert = require('inert');
var CloudParse = require('parse-cloud-express').Parse;
Parse.initialize("<KEY>", "<KEY>");
// Create hapi server instance
var server = new hapi.Server();

// add connection parameters
server.connection({
    host: 'localhost',
    port: 3000
});
server.register(Inert, function () {
});

server.register(require('vision'), function (err) {
    if (err) {
        throw err;<commit_msg>portfix<commit_after>var hapi = require('hapi');
GLOBAL.Parse = require('parse/node').Parse; // add parse
var Inert = require('inert');
var CloudParse = require('parse-cloud-express').Parse;
Parse.initialize("<KEY>", "<KEY>");
// Create hapi server instance
var server = new hapi.Server();

// add connection parameters
server.connection({
    port: 8080
});
server.register(Inert, function () {
});

server.register(require('vision'), function (err) {
    if (err) {
        throw err;
{'fraction_non_alphanumeric': 0.17782217782217782, 'fraction_numerical': 0.007992007992007992, 'mean_word_length': 4.597765363128492, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3796631', 'n_tokens_mistral': 305, 'n_tokens_neox': 298, 'n_words': 77}