<commit_before>/**
 * Bootstrap
 * (sails.config.bootstrap)
 *
 * An asynchronous bootstrap function that runs before your Sails app gets lifted.
 * This gives you an opportunity to set up your data model, run jobs, or perform some special logic.
 *
 * For more information on bootstrapping your app, check out:
 * http://sailsjs.org/#!/documentation/reference/sails.config/sails.config.bootstrap.html
 */

var dataService = require("../api/services/DataTransferService");
var parser = require("../api/services/ParserService");

module.exports.bootstrap = function (cb) {

  async.series([
    function (callback) {
      League.init(callback, ['AL', 'NL']);
    },
    function (callback) {
      Team.init(callback);
    },
    function (callback) {
      dataService.reload(callback, Game);
    },
    function (callback) {
      dataService.reload(callback, Player);
    },
    function (callback) {
      dataService.reload(callback, Participant);
    },
    // function (callback) {
    //   parser.moveDirectoryContent(callback, "input", "output");<commit_msg>turning off player load until we need it<commit_after>/**
 * Bootstrap
 * (sails.config.bootstrap)
 *
 * An asynchronous bootstrap function that runs before your Sails app gets lifted.
 * This gives you an opportunity to set up your data model, run jobs, or perform some special logic.
 *
 * For more information on bootstrapping your app, check out:
 * http://sailsjs.org/#!/documentation/reference/sails.config/sails.config.bootstrap.html
 */

var dataService = require("../api/services/DataTransferService");
var parser = require("../api/services/ParserService");

module.exports.bootstrap = function (cb) {

  async.series([
    function (callback) {
      League.init(callback, ['AL', 'NL']);
    },
    function (callback) {
      Team.init(callback);
    },
    function (callback) {
      dataService.reload(callback, Game);
    },
    // function (callback) {
    //   dataService.reload(callback, Player);
    // },
    function (callback) {
      dataService.reload(callback, Participant);
    },
    // function (callback) {
    //   parser.moveDirectoryContent(callback, "input", "output");
{'fraction_non_alphanumeric': 0.13640552995391705, 'fraction_numerical': 0.0, 'mean_word_length': 3.4036511156186613, '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': '2181300', 'n_tokens_mistral': 611, 'n_tokens_neox': 596, 'n_words': 162}