<commit_before>//modules
var express         = require('express');
var app             = express();
var bodyParser      = require('body-parser');
var methodOverride  = require('method-override')
var mongoose        = require('mongoose')
var db              = require('../Database/db.js')

var port = process.env.PORT || 8000;

app.use(bodyParser.json());
app.use(express.static(__dirname + '../public'));
app.use(bodyParser.urlencoded({ extended: true }));
app.use(methodOverride('X-HTTP-Method-Override'));

app.get('/', function(req, res){
  res.render('index')<commit_msg>fixing server bug<commit_after>//modules
var express         = require('express');
var app             = express();
var bodyParser      = require('body-parser');
var methodOverride  = require('method-override')
var mongoose        = require('mongoose')
var db              = require('../Database/db.js')

var port = process.env.PORT || 8000;

app.use(bodyParser.json());
app.use(express.static(__dirname + '../public'));
app.use(bodyParser.urlencoded({ extended: true }));
app.use(methodOverride('X-HTTP-Method-Override'));

app.get('/', function(req, res){
{'fraction_non_alphanumeric': 0.18109540636042404, 'fraction_numerical': 0.007067137809187279, 'mean_word_length': 3.7012448132780085, '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': '1627112', 'n_tokens_mistral': 334, 'n_tokens_neox': 331, 'n_words': 68}