<commit_before>import express from 'express';

const router = express.Router();

router.route('/login')
  .post(function(req, res, next) {

    const {password} = req.body;

    // Simulate DB checks here
    setTimeout(() => {
      if (password !== '<PASSWORD>')
        res.status(400).end();
      else
        res.status(200).end();
    });

  });

export default router;
<commit_msg>Fix server login simulation timeout.<commit_after>import express from 'express';

const router = express.Router();

router.route('/login')
  .post(function(req, res, next) {

    const {password} = req.body;

    // Simulate DB checks here.
    setTimeout(() => {
      if (password !== '<PASSWORD>')
        res.status(400).end();
      else
        res.status(200).end();
    }, 1000);

  });

export default router;

{'fraction_non_alphanumeric': 0.16955445544554457, 'fraction_numerical': 0.019801980198019802, 'mean_word_length': 2.8160377358490565, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4516893', 'n_tokens_mistral': 260, 'n_tokens_neox': 243, 'n_words': 61}