<commit_before>var express = require('express');
var router = express.Router();
var VPNModel = require("../model/vpn.js");
var BBXModel = require("../model/bbx.js");
var VNCModel = require("../model/vnc.js");
var USERModel = require("../model/user.js");

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', {
      title: 'BlueBoxNOC',
      VPNTitleValidator: String(VPNModel.validName),
      BBXTitleValidator: String(BBXModel.validName),
      VNCTitleValidator: String(VNCModel.validName),
      USERTitleValidator: String(USERModel.validName)});
});
router.get('/js/validations.js', function(req, res, next) {<commit_msg>Refactoring<commit_after>var express = require('express'),
    router = express.Router(),
    VPNModel = require("../model/vpn.js"),
    BBXModel = require("../model/bbx.js"),
    VNCModel = require("../model/vnc.js"),
    USERModel = require("../model/user.js"),
    GROUPModel = require("../model/group.js");

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', {
      title: 'BlueBoxNOC' });
});
router.get('/js/validations.js', function(req, res, next) {
{'fraction_non_alphanumeric': 0.20363951473136915, 'fraction_numerical': 0.0, 'mean_word_length': 4.0, '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': '7632890', 'n_tokens_mistral': 387, 'n_tokens_neox': 382, 'n_words': 69}