<commit_before>"use strict";

var express = require('express');
var app = express();
//var assert = require('assert');
//var _ = require("lodash");
var serverLib = require("./lib.js");

//-------------------------------------------------------------------------

app.listen(3000);

//-------------------------------------------------------------------------

app.use("/public", express.static('public'));

app.get('/', function (req, res) {
  res.sendFile("index.html", { root: "./" });
});
<commit_msg>read PORT from environment to satisfy heroku deployment<commit_after>"use strict";

var express = require('express');
var app = express();
//var assert = require('assert');
//var _ = require("lodash");
var serverLib = require("./lib.js");

//-------------------------------------------------------------------------

app.listen(process.env.PORT || 3000);

//-------------------------------------------------------------------------

app.use("/public", express.static('public'));

app.get('/', function (req, res) {
  res.sendFile("index.html", { root: "./" });
});

{'fraction_non_alphanumeric': 0.44569288389513106, 'fraction_numerical': 0.00749063670411985, 'mean_word_length': 1.4406392694063928, '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': '1301621', 'n_tokens_mistral': 266, 'n_tokens_neox': 256, 'n_words': 58}