<commit_before>var express = require("express");
var app = express();
var http = require('http');
var server = http.createServer(app)
var io = require('socket.io').listen(server);
var points = require('./GetBuilds');

app.configure(function(){
  app.set('views', __dirname + '/views');
  app.set('view engine', 'jade');
  app.use(express.logger());
  app.use(express.bodyParser());
});

io.configure(function(){
  io.set("transports", ["xhr-polling"]);
  io.set("polling duration", 10);
});



app.post('/', function(req,res){
  //POST data to any listeners
  console.log((req['body']['build']['buildId']));
    try {<commit_msg>added get<commit_after>var express = require("express");
var app = express();
var http = require('http');
var server = http.createServer(app)
var io = require('socket.io').listen(server);
var points = require('./GetBuilds');

app.configure(function(){
  app.set('views', __dirname + '/views');
  app.set('view engine', 'jade');
  app.use(express.logger());
  app.use(express.bodyParser());
});

io.configure(function(){
  io.set("transports", ["xhr-polling"]);
  io.set("polling duration", 10);
});

app.get('/', function(req,res){
  res.render('index');
});


app.post('/', function(req,res){
  //POST data to any listeners
  console.log((req['body']['build']['buildId']));
    try {
{'fraction_non_alphanumeric': 0.22924600152322924, 'fraction_numerical': 0.0030464584920030465, 'mean_word_length': 5.3478260869565215, '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': '1481443', 'n_tokens_mistral': 436, 'n_tokens_neox': 428, 'n_words': 88}