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


var integrifyconfig = require('./config.js'); // config settings pointing to your Integrify instance

var runOnPort = process.env.PORT || 8080; //supports running under IISNode - picks up the port from the IIS Site.


// use this to store the Redirect parameter keyed by the token passed to this page from Integrify
// it will be use to redirect the user back to the Integrify site if successful.
var  tokenCache = {};


http.createServer(function (req, res) {





    //render login form
    if  (req.method == "GET") {
<commit_msg>use the port from the config.js file<commit_after>var http = require('http');
var url = require('url');
var querystring = require('querystring');


var integrifyconfig = require('./config.js'); // config settings pointing to your Integrify instance

var runOnPort = process.env.PORT || integrifyconfig.port; //supports running under IISNode - picks up the port from the IIS Site.


// use this to store the Redirect parameter keyed by the token passed to this page from Integrify
// it will be use to redirect the user back to the Integrify site if successful.
var  tokenCache = {};


http.createServer(function (req, res) {





    //render login form
    if  (req.method == "GET") {

{'fraction_non_alphanumeric': 0.10202550637659415, 'fraction_numerical': 0.003000750187546887, 'mean_word_length': 3.781362007168459, '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': '5542125', 'n_tokens_mistral': 381, 'n_tokens_neox': 355, 'n_words': 162}