<commit_before>const axios = require('axios')
const cheerio = require('cheerio')
const fetchStats = require('./server/schedule')

for (let i = 20000; i < 117922; i++) {
  setTimeout(function() {
    console.log('Currently seeding account #', i)
    console.log('Attempting to get tagpro-stats profile page...')
    axios.get(`http://tagpro-stats.com/profile.php?userid=${i}`)
      .then(response => response.data)
      .then(data => {
        const $ = cheerio.load(data)
        if (+$('.stat')[3].children[0].data > 300) {
          const url = $('h3')[0].children[1].attribs.href
          console.log('Attempting to add account to database...')
          return axios.post('https://tagpro-stats.herokuapp.com/api/accounts/', {url})
        }
      })
      .catch(console.error)
  }, i * 500 - 20000 * 500)
}<commit_msg>start seed at 24500<commit_after>const axios = require('axios')
const cheerio = require('cheerio')
const fetchStats = require('./server/schedule')

for (let i = 24500; i < 117922; i++) {
  setTimeout(function() {
    console.log('Currently seeding account #', i)
    console.log('Attempting to get tagpro-stats profile page...')
    axios.get(`http://tagpro-stats.com/profile.php?userid=${i}`)
      .then(response => response.data)
      .then(data => {
        const $ = cheerio.load(data)
        if (+$('.stat')[3].children[0].data > 300) {
          const url = $('h3')[0].children[1].attribs.href
          console.log('Attempting to add account to database...')
          return axios.post('https://tagpro-stats.herokuapp.com/api/accounts/', {url})
        }
      })
      .catch(console.error)
  }, i * 500 - 24500 * 500)
}
{'fraction_non_alphanumeric': 0.18335343787696018, 'fraction_numerical': 0.039203860072376355, 'mean_word_length': 2.8761682242990654, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '6770363', 'n_tokens_mistral': 597, 'n_tokens_neox': 543, 'n_words': 109}