<commit_before>var express = require('express');
var app = express();

app.use(express.static('public'));

app.post('/', function (req, res) {
  res.send('Hello World!');
});

app.get(/hello/, function (req, res) {
  res.send('Hello!');
});

app.get('/world', function (req, res) {
  res.send('World!');
});

app.get('/test', function (req, res) {
  res.send('Test1!');
});

app.get('/test', function (req, res) {
  res.send('Test2!');
});

app.get('/json', function (req, res) {
  res.send({an: 'object'});
});

var server = app.listen(3000, function () {
  var host = server.address().address;
  var port = server.address().port;

  console.log('Example app listening at http://%s:%d', host, port);
});
<commit_msg>Error responses<commit_after>var express = require('express');
var app = express();

app.use(express.static('public'));

app.post('/', function (req, res) {
  res.send('Hello World!');
});

app.get(/hello/, function (req, res) {
  res.send('Hello!');
});

app.get('/world', function (req, res) {
  res.send('World!');
});

app.get('/test', function (req, res) {
  res.send('Test1!');
});

app.get('/test', function (req, res) {
  res.send('Test2!');
});

app.get('/json', function (req, res) {
  res.send({an: 'object'});
});

app.use(function (req, res) {
  res.status(403).send('Unauthorized!');
});

var server = app.listen(3000, function () {
  var host = server.address().address;
  var port = server.address().port;

  console.log('Example app listening at http://%s:%d', host, port);
});

{'fraction_non_alphanumeric': 0.24933862433862433, 'fraction_numerical': 0.00992063492063492, 'mean_word_length': 4.442446043165468, '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': '1925902', 'n_tokens_mistral': 549, 'n_tokens_neox': 538, 'n_words': 117}