<commit_before>const fs = require("fs"),
  config = require("../config"),
  Show = require("../models/Show"),
  util = require("../util");

module.exports = {

  /* Display server info. */
  getIndex: (req, res) => {
    const lastUpdatedJSON = JSON.parse(fs.readFileSync(config.tempDir + "/" + config.updatedFile, "utf8")),
      packageJSON = JSON.parse(fs.readFileSync("package.json", "utf8")),
      statusJSON = JSON.parse(fs.readFileSync(config.tempDir + "/" + config.statusFile, "utf8"));

    return Show.count({}).then((count) => {
      return res.json({
        server: config.serverName,
        status: statusJSON.status != null ? statusJSON.status : "Idle",
        totalShows: count,<commit_msg>added repo url to index<commit_after>const fs = require("fs"),
  config = require("../config"),
  Show = require("../models/Show"),
  util = require("../util");

module.exports = {

  /* Display server info. */
  getIndex: (req, res) => {
    const lastUpdatedJSON = JSON.parse(fs.readFileSync(config.tempDir + "/" + config.updatedFile, "utf8")),
      packageJSON = JSON.parse(fs.readFileSync("package.json", "utf8")),
      statusJSON = JSON.parse(fs.readFileSync(config.tempDir + "/" + config.statusFile, "utf8"));

    return Show.count({}).then((count) => {
      return res.json({
        repo: packageJSON.repository.url,
        server: config.serverName,
        status: statusJSON.status != null ? statusJSON.status : "Idle",
        totalShows: count,
{'fraction_non_alphanumeric': 0.18206521739130435, 'fraction_numerical': 0.004076086956521739, 'mean_word_length': 3.370919881305638, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7179638', 'n_tokens_mistral': 460, 'n_tokens_neox': 455, 'n_words': 87}