<commit_before>var express = require('express');
var router = express.Router();
var request = require('request');

var MS_LOGIN_URL = "http://mslogin:3000";

router.post('/', function(req, res, next) {
	console.log("caveman check");
	var reqParams = {
		url: MS_LOGIN_URL,
		method:'POST',
		json: true,
		body: req.body
	}
	console.log(req.body);
	request(reqParams, function (error, response, body) {
		if (!error && response.statusCode == 200) {
			res.send(body);
		}
		else {
  			res.send(body);
		}
	});<commit_msg>clean up<commit_after>var express = require('express');
var router = express.Router();
var request = require('request');

var MS_LOGIN_URL = "http://mslogin:3000";

router.post('/', function(req, res, next) {
	var reqParams = {
		url: MS_LOGIN_URL,
		method:'POST',
		json: true,
		body: req.body
	}
	request(reqParams, function (error, response, body) {
		if (!error && response.statusCode == 200) {
			res.send(body);
		}
		else {
  			res.send(body);
		}
	});
{'fraction_non_alphanumeric': 0.17784552845528456, 'fraction_numerical': 0.014227642276422764, 'mean_word_length': 4.130208333333333, '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': '3255189', 'n_tokens_mistral': 389, 'n_tokens_neox': 354, 'n_words': 78}