<commit_before>'use strict';

const express = require('express');
const bodyParser = require('body-parser');
const PORT = process.env.PORT || 3000;
const app = express();

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: true}));
app.use(express.static('./public'));

app.listen(PORT, () => console.log(`Server started on port ${PORT}!`));
<commit_msg>added error log<commit_after>'use strict';

const express = require('express');
const bodyParser = require('body-parser');
const PORT = process.env.PORT || 4000;
const app = express();

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: true}));
app.use(express.static('./public'));

app.use(function(req, res, next) {
  var err = new Error('Not Found');
  err.status = 404;
  next(err);
});
app.listen(PORT, () => console.log(`Server started on port ${PORT}!`));

{'fraction_non_alphanumeric': 0.20140515222482436, 'fraction_numerical': 0.01288056206088993, 'mean_word_length': 6.008196721311475, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4454110', 'n_tokens_mistral': 281, 'n_tokens_neox': 267, 'n_words': 63}