<commit_before>var express = require('express'),
    http = require('http'),
    redis = require('redis'),
    app = express(),
    client = redis.createClient('6379', 'redis.service.consul');

app.get('/', function(req, res, next) {
  client.incr('counter', function(err, counter) {
    if(err) return next(err);

    res.send('This page has been viewed ' + counter + ' times!');
  });
});

http.createServer(app).listen(process.env.PORT || 8080, function() {
  console.log('Listening on port ' + (process.env.PORT || 8080));
});<commit_msg>Adjusted environment variable for Port<commit_after>var express = require('express'),
    http = require('http'),
    redis = require('redis'),
    app = express(),
    client = redis.createClient('6379', 'redis.service.consul');

app.get('/', function(req, res, next) {
  client.incr('counter', function(err, counter) {
    if(err) return next(err);

    res.send('This page has been viewed ' + counter + ' times!');
  });
});

http.createServer(app).listen(process.env.NOMAD_PORT_http || 8080, function() {
  console.log('Listening on port ' + (process.env.NOMAD_PORT_http || 8080));
});
{'fraction_non_alphanumeric': 0.1909814323607427, 'fraction_numerical': 0.021220159151193633, 'mean_word_length': 4.416267942583732, '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': '4662983', 'n_tokens_mistral': 386, 'n_tokens_neox': 367, 'n_words': 78}