<commit_before>const { Router } = require('express');
const { Admin, HackerApplication, ApplicationReview } = require('js/server/models');
const { createHttpError } = require('./errors');
const reviewLogic = require('js/server/review/logic');

/**
 * The amount to increase admin goals by to allow for the fact that
 * not everyone will meat their goal.
 */
const GOAL_BOOST = 1.2;

const adminsRouter = new Router();

adminsRouter.get('/by-email/:email', (req, res, next) => {
  Admin
    .findOne({
      where: {
        email: req.params.email,<commit_msg>Make our code vegan<commit_after>const { Router } = require('express');
const { Admin, HackerApplication, ApplicationReview } = require('js/server/models');
const { createHttpError } = require('./errors');
const reviewLogic = require('js/server/review/logic');

/**
 * The amount to increase admin goals by to allow for the fact that
 * not everyone will meet their goal.
 */
const GOAL_BOOST = 1.2;

const adminsRouter = new Router();

adminsRouter.get('/by-email/:email', (req, res, next) => {
  Admin
    .findOne({
      where: {
        email: req.params.email,
{'fraction_non_alphanumeric': 0.14564831261101244, 'fraction_numerical': 0.003552397868561279, 'mean_word_length': 3.9867256637168142, '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': '6249027', 'n_tokens_mistral': 343, 'n_tokens_neox': 335, 'n_words': 100}