<commit_before>var express = require('express');
var app = express();
var server = app.listen(3000, function () {
  var host = server.address().address;
  var port = server.address().port;

  console.log('http://localhost:' + port);
});

app.use(express.static(__dirname + '/client/'));


// app.get('/', function(req,res) {
//   res.send('richhomie')
// });<commit_msg>refactors server code<commit_after>var express = require('express');
var app = express();
var server = app.listen(3000, function () {
  var port = server.address().port;
  console.log('http://localhost:' + port);
});

app.use(express.static(__dirname + '/client/'));
{'fraction_non_alphanumeric': 0.21069182389937108, 'fraction_numerical': 0.012578616352201259, 'mean_word_length': 4.6371681415929205, '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': '7601984', 'n_tokens_mistral': 205, 'n_tokens_neox': 195, 'n_words': 42}