<commit_before>var express = require("express");
var argv = require("minimist")(process.argv.slice(2));
var packageJson = require("./package.json");
var name = packageJson.name;


var app = express();
app.use(express.static(__dirname + "/images"));


var count = 0;
app.get("*", function(req, res) {
    count += 1;
    var html = "";
    html += "<code>" + name + "@" + packageJson.version + ": Loaded: " + count + "</code><hr/>";
    html += "<img src='/moon.jpg' />";
    res.send(html);
});




var PORT = argv.port || 5000;
console.log("Starting App-2");
app.listen(PORT, function() {
    console.log(name + " listening on port:", PORT);
    console.log("");
});<commit_msg>Example kill route<commit_after>var express = require("express");
var argv = require("minimist")(process.argv.slice(2));
var packageJson = require("./package.json");
var name = packageJson.name;


var app = express();
app.use(express.static(__dirname + "/images"));



// Kills the process so we can test PM2 restarting the app.
app.get("/kill", function(req, res) {
  process.exit(0);
});



var count = 0;
app.get("*", function(req, res) {
    count += 1;
    var html = "";
    html += "<code>" + name + "@" + packageJson.version + ": Loaded: " + count + "</code><hr/>";
    html += "<img src='/moon.jpg' />";
    res.send(html);
});



var PORT = argv.port || 5000;
console.log("Starting App-2");
app.listen(PORT, function() {
    console.log(name + " listening on port:", PORT);
    console.log("");
});
{'fraction_non_alphanumeric': 0.2178883658372562, 'fraction_numerical': 0.0121049092131809, 'mean_word_length': 3.769230769230769, 'pattern_counts': {'":': 2, '<': 11, '<?xml version=': 0, '>': 11, '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': '2186222', 'n_tokens_mistral': 513, 'n_tokens_neox': 488, 'n_words': 121}