<commit_before>'use strict';
const mongoose = require('mongoose');
const jwt_auth = require('../lib/jwt_auth');

mongoose.connect('mongodb://localhost/auth_test');
app = require('express')();
const authRouter = require('../route/user_router');
app.use('/api', authRouter);
app.get('/api/jwt_auth', jwt_auth, function(req, res){
  res.json({msg: 'sucess!'});
});

app.use((err, req, res, next) => {
  res.status(err.statusCode).json(err.message);
});
app.listen(5000);
<commit_msg>added use strict and let to declare app variable in test_server<commit_after>'use strict';
const mongoose = require('mongoose');
const jwt_auth = require('../lib/jwt_auth');

mongoose.connect('mongodb://localhost/auth_test');
let app = require('express')();
const authRouter = require('../route/user_router');
app.use('/api', authRouter);
app.get('/api/jwt_auth', jwt_auth, function(req, res){
  res.json({msg: 'sucess!'});
});

app.use((err, req, res, next) => {
  res.status(err.statusCode).json(err.message);
});
app.listen(5000);

{'fraction_non_alphanumeric': 0.21499013806706113, 'fraction_numerical': 0.007889546351084813, 'mean_word_length': 6.048611111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6137098', 'n_tokens_mistral': 356, 'n_tokens_neox': 353, 'n_words': 67}