<commit_before>require('dotenv').load()
const express = require('express')
const app = express()

// Configuration
app.locals.pretty = (process.env.MINIFY === 'true')
app.set('views', `${__dirname}/views`)
app.set('view engine', 'jade')
app.use('/static', express.static(`${__dirname}/static`))

// Routes
require('./routes')(app)
app.use('/module', require('./module/routes'))

// Run
app.listen(process.env.NODE_PORT, function (err) {
  if (err) console.error(err)
  else
    console.log(`${process.env.APP_NAME} listening on: http://localhost:${process.env.NODE_PORT}`)
})<commit_msg>set port<commit_after>require('dotenv').load()
const express = require('express')
const app = express()

// Configuration
app.set('port', process.env.NODE_PORT || 3000)
app.set('views', `${__dirname}/views`)
app.set('view engine', 'jade')
app.use('/static', express.static(`${__dirname}/static`))
app.locals.pretty = (process.env.MINIFY === 'true')

// Routes
require('./routes')(app)
app.use('/module', require('./module/routes'))

// Run
app.listen(app.get('port'), function (err) {
  if (err) console.error(err)
  else console.log(`Server started: http://localhost:${app.get('port')}/`)
})
{'fraction_non_alphanumeric': 0.22900763358778625, 'fraction_numerical': 0.0033927056827820186, 'mean_word_length': 5.592178770949721, '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': '4956447', 'n_tokens_mistral': 395, 'n_tokens_neox': 395, 'n_words': 71}