<commit_before>describe('Gist', function() {
    beforeEach(function() {
        gists = document.getElementsByClassName('gist-file');
    });

    it('page has a few gists', function() {
        expect(gists.length).to.equal(3);
    });

    context('when language is supported', function() {
        beforeEach(function() {
            gist = gists[0];
        });

        ['run', 'flush'].forEach(function(name) {
            expectToHaveButton(name);
        });

        function expectToHaveButton(name) {
            it('has a '+name+' button', function(done) {
                setTimeout(function() {
                    var buttons = gist.getElementsByClassName(name);

                    expect(buttons.length).to.equal(1);
                    done();
                }, 1000);
            });
        }<commit_msg>rename a test for gists<commit_after>describe('Gist', function() {
    beforeEach(function() {
        gists = document.getElementsByClassName('gist-file');
    });

    it('are loaded', function() {
        expect(gists.length).to.equal(3);
    });

    context('when language is supported', function() {
        beforeEach(function() {
            gist = gists[0];
        });

        ['run', 'flush'].forEach(function(name) {
            expectToHaveButton(name);
        });

        function expectToHaveButton(name) {
            it('has a '+name+' button', function(done) {
                setTimeout(function() {
                    var buttons = gist.getElementsByClassName(name);

                    expect(buttons.length).to.equal(1);
                    done();
                }, 1000);
            });
        }
{'fraction_non_alphanumeric': 0.14631197097944376, 'fraction_numerical': 0.008464328899637243, 'mean_word_length': 1.805084745762712, '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': '1943378', 'n_tokens_mistral': 462, 'n_tokens_neox': 433, 'n_words': 75}