<commit_before>﻿#!/usr/bin/env node

/**
 * web-server.js Borrowed from angularjs.org tutorial
 * modified to allow posting
 */

var util = require('util'),
    http = require('http'),
    fs = require('fs'),
    url = require('url'),
    events = require('events');

var DEFAULT_PORT = 1234;

function main(argv) {
    new HttpServer({
        'GET':createServlet(StaticServlet),
        'POST':createServlet(StaticServlet),
        'HEAD':createServlet(StaticServlet)
    }).start(Number(argv[2]) || DEFAULT_PORT);
}

function escapeHtml(value) {<commit_msg>Change web server port<commit_after>﻿#!/usr/bin/env node

/**
 * web-server.js Borrowed from angularjs.org tutorial
 * modified to allow posting
 */

var util = require('util'),
    http = require('http'),
    fs = require('fs'),
    url = require('url'),
    events = require('events');

var DEFAULT_PORT = 5000;

function main(argv) {
    new HttpServer({
        'GET':createServlet(StaticServlet),
        'POST':createServlet(StaticServlet),
        'HEAD':createServlet(StaticServlet)
    }).start(Number(process.env.PORT || DEFAULT_PORT));
}

function escapeHtml(value) {
{'fraction_non_alphanumeric': 0.15641476274165203, 'fraction_numerical': 0.007908611599297012, 'mean_word_length': 3.8675213675213675, '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': '3586411', 'n_tokens_mistral': 351, 'n_tokens_neox': 341, 'n_words': 75}