<commit_before>describe 'The JavaScript engine', ->
    it 'names the global object "window"', ->
        expect(typeof window).toBe('object')
    
    it 'provides the "location" object', ->
        expect(typeof location).toBe('object')
        expect(typeof location.hash).toBe('string')
    
    it 'provides the onHashChange event', ->
        expect('onhashchange' of window).toBe(true)


describe 'jQuery', ->
    it 'is present', ->
        expect(jQuery).toBeDefined()
        expect($).toBe(jQuery)
    
    it 'has the expected version number', ->
        expect($.fn.jquery).toBe('1.7.2')<commit_msg>Extended coverage of environmental requirements<commit_after>describe 'The JavaScript engine', ->
    it 'names the global object "window"', ->
        expect(typeof window).toBe('object')
    
    it 'provides the "location" object', ->
        expect(typeof location).toBe('object')
        expect(typeof location.hash).toBe('string')
    
    it 'allows changing location.hash', ->
        location.hash = ''
        expect(location.hash).not.toEqual('#foo')
        location.hash = 'foo'
        expect(location.hash).toEqual('#foo')
        
    it 'ignores leading hash symbols when writing to location.hash', ->
        location.hash = '#bar'
        expect(location.hash).toEqual('#bar')
    
    it 'provides the "onHashChange" event', ->
        expect('onhashchange' of window).toBe(true)


describe 'jQuery', ->
    it 'is present', ->
        expect(jQuery).toBeDefined()
        expect($).toBe(jQuery)
    
    it 'has the expected version number', ->
        expect($.fn.jquery).toBe('1.7.2')
{'fraction_non_alphanumeric': 0.15009264978381717, 'fraction_numerical': 0.0037059913526868438, 'mean_word_length': 2.6986301369863015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '82680', 'n_tokens_mistral': 454, 'n_tokens_neox': 448, 'n_words': 110}