<commit_before>var os = require('os');
var cluster = require('cluster');
var http = require('http');
var url = require('url');

var qr = require('./api/controllers/QrController');

var startServer = function (argument) {
    http.createServer(function (request, response) {
        var urlObj = url.parse(request.url);
        if (urlObj.pathname === '/qr/gen') {
            qr.gen(request, response);
        } else {
            response.writeHead(404, {
                'Content-Type' : 'text/plain'
            });
            response.end();
        }

    }).listen(1338);
};

var environment = process.env.NODE_ENV;
if (environment === 'production') {
    if (cluster.isMaster) {
        var i = 0;<commit_msg>Fix port number.<commit_after>var os = require('os');
var cluster = require('cluster');
var http = require('http');
var url = require('url');

var qr = require('./api/controllers/QrController');

var startServer = function (argument) {
    http.createServer(function (request, response) {
        var urlObj = url.parse(request.url);
        if (urlObj.pathname === '/qr/gen') {
            qr.gen(request, response);
        } else {
            response.writeHead(404, {
                'Content-Type' : 'text/plain'
            });
            response.end();
        }

    }).listen(1337);
};

var environment = process.env.NODE_ENV;
if (environment === 'production') {
    if (cluster.isMaster) {
        var i = 0;
{'fraction_non_alphanumeric': 0.16191799861014594, 'fraction_numerical': 0.011118832522585128, 'mean_word_length': 2.4285714285714284, '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': '837580', 'n_tokens_mistral': 441, 'n_tokens_neox': 421, 'n_words': 95}