<commit_before>(function () {
    'use strict';

    describe('Sample', function () {
        beforeEach(module('sample-with-tests'));

        var factory;

        beforeEach(inject(function ($injector) {
            factory = $injector.get('Sample');
        }));

        it('is defined', function () {
            expect(factory).toBeDefined();
        });

        describe('myMethod', function () {
            it('returns 1 when p is true', function () {
                expect(factory.myMethod(true)).toEqual(1);
            });

            it('returns 3 when p is false', function () {
                // Intentionally broken test
                expect(factory.myMethod(false)).toEqual(2);
            });
        });
    });
})();<commit_msg>Fix test<commit_after>(function () {
    'use strict';

    describe('Sample', function () {
        beforeEach(module('sample-with-tests'));

        var factory;

        beforeEach(inject(function ($injector) {
            factory = $injector.get('Sample');
        }));

        it('is defined', function () {
            expect(factory).toBeDefined();
        });

        describe('myMethod', function () {
            it('returns 1 when p is true', function () {
                expect(factory.myMethod(true)).toEqual(1);
            });

            it('returns 3 when p is false', function () {
                // Intentionally broken test
                expect(factory.myMethod(false)).toEqual(3);
            });
        });
    });
})();
{'fraction_non_alphanumeric': 0.15813953488372093, 'fraction_numerical': 0.0053156146179402, 'mean_word_length': 1.7785977859778597, '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': '3676207', 'n_tokens_mistral': 396, 'n_tokens_neox': 379, 'n_words': 75}