<commit_before>'use strict'

var chai = require('chai')
var Shuffled = require('../app/shuffled')

chai.should()

describe('shuffled', function () {
  beforeEach(function () {
    this.microbreakIdeas = new Shuffled([1, 2, 3, 4])
  })

  it('returns random elements without repetition', function () {
    let sum = 0
    for (let i = 1; i < 20000; i++) {
      sum += this.microbreakIdeas.randomElement
      if (i % 4 === 0) {
        sum.should.equal(10)
        sum = 0
      }
    }
  })
})
<commit_msg>Remove strict from shuffled test<commit_after>const chai = require('chai')
const Shuffled = require('../app/shuffled')

chai.should()

describe('shuffled', function () {
  beforeEach(function () {
    this.microbreakIdeas = new Shuffled([1, 2, 3, 4])
  })

  it('returns random elements without repetition', function () {
    let sum = 0
    for (let i = 1; i < 20000; i++) {
      sum += this.microbreakIdeas.randomElement
      if (i % 4 === 0) {
        sum.should.equal(10)
        sum = 0
      }
    }
  })
})

{'fraction_non_alphanumeric': 0.1603128054740958, 'fraction_numerical': 0.03128054740957967, 'mean_word_length': 2.683453237410072, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1410566', 'n_tokens_mistral': 383, 'n_tokens_neox': 342, 'n_words': 88}