<commit_before>'use strict';

let app = require('../index');
let Character = require('../lib/character/model');
let helpers = require('../lib/helpers');
let fetch = require('node-fetch');
let moment = require('moment');
let Promise = require('es6-promise').Promise;
let _ = require('lodash');

const GUILD_API_PATH = '/wow/guild/Thrall/No%20Breaks';

function getMembers() {
  let query = {
    fields: 'members',
    locale: 'en_US'
  };

  let raiders = [];
  let members = [];

  // Remove all
  Character.remove().exec();

  fetch(helpers.buildGetUrl(GUILD_API_PATH, query))
  	.then(helpers.parseFetchResponse)
    .then((json) => {

      json.members = json.members.filter((el) => {
        return el.rank === 0 || el.rank === 1 || el.rank === 4 || el.rank === 5;
      });

      let promises = [];
<commit_msg>Remove temporary delete all<commit_after>'use strict';

let app = require('../index');
let Character = require('../lib/character/model');
let helpers = require('../lib/helpers');
let fetch = require('node-fetch');
let moment = require('moment');
let Promise = require('es6-promise').Promise;
let _ = require('lodash');

const GUILD_API_PATH = '/wow/guild/Thrall/No%20Breaks';

function getMembers() {
  let query = {
    fields: 'members',
    locale: 'en_US'
  };

  let raiders = [];
  let members = [];

  fetch(helpers.buildGetUrl(GUILD_API_PATH, query))
  	.then(helpers.parseFetchResponse)
    .then((json) => {

      json.members = json.members.filter((el) => {
        return el.rank === 0 || el.rank === 1 || el.rank === 4 || el.rank === 5;
      });

      let promises = [];

{'fraction_non_alphanumeric': 0.19364881693648817, 'fraction_numerical': 0.008717310087173101, 'mean_word_length': 3.4027397260273973, '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': '1650461', 'n_tokens_mistral': 544, 'n_tokens_neox': 526, 'n_words': 114}