<commit_before>from flask.ext.assets import Bundle  # type: ignore
import sass                          # type: ignore


def compile_sass(_in, out, **kw):
    out.write(
        sass.compile(
            string=_in.read()
        )
    )

govuk = Bundle('.dist/stylesheets/govuk-template.css')
govuk_ie8 = Bundle('.dist/stylesheets/govuk-template-ie8.css')
govuk_ie7 = Bundle('.dist/stylesheets/govuk-template-ie7.css')
govuk_ie6 = Bundle('.dist/stylesheets/govuk-template-ie6.css')

govuk_print = Bundle('.dist/stylesheets/govuk-template-print.css')

elements = Bundle('.dist/stylesheets/elements.css',
                  'app/stylesheets/application.scss',
                  filters=(compile_sass, 'cssmin'), output='.dist/stylesheets/main.css')

elements_ie8 = Bundle('.dist/stylesheets/elements-ie8.css',
                      '.dist/stylesheets/fonts-ie8.css',
                      'app/stylesheets/application.scss',
                      filters=(compile_sass, 'cssmin'), output='.dist/stylesheets/main-ie8.css')

elements_ie7 = Bundle('.dist/stylesheets/elements-ie7.css',
                      '.dist/stylesheets/fonts-ie8.css',
                      'app/stylesheets/application.scss',
                      filters=(compile_sass, 'cssmin'), output='.dist/stylesheets/main-ie7.css')

elements_ie6 = Bundle('.dist/stylesheets/elements-ie6.css',
                      '.dist/stylesheets/fonts-ie8.css',
                      'app/stylesheets/application.scss',
                      filters=(compile_sass, 'cssmin'), output='.dist/stylesheets/main-ie6.css')


js_polyfills_ie9 = Bundle('.dist/javascripts/polyfills-ie9.js')
js_polyfills_ie8 = Bundle('.dist/javascripts/polyfills-ie8.js')
js_promise = Bundle('.dist/javascripts/polyfills-promise.js')

js = Bundle('.dist/javascripts/govuk-template.js',
            '.dist/javascripts/landregistry.js',
            filters='rjsmin', output='.dist/javascripts/main.js')

js_map = Bundle('.land-registry-elements/assets/javascripts/leaflet.js',
                'app/javascripts/map.js',
                filters='rjsmin', output='.dist/javascripts/leaflet.js')

js_googleanalytics = Bundle('app/javascripts/googleanalytics.js',
                            filters='rjsmin', output='.dist/javascripts/googleanalytics.js')

js_ga_search = Bundle('app/javascripts/ga_search.js',
                      filters='rjsmin', output='.dist/javascripts/ga_search.js')<commit_msg>Changing name of output for map script<commit_after>from flask.ext.assets import Bundle  # type: ignore
import sass                          # type: ignore


def compile_sass(_in, out, **kw):
    out.write(
        sass.compile(
            string=_in.read()
        )
    )

govuk = Bundle('.dist/stylesheets/govuk-template.css')
govuk_ie8 = Bundle('.dist/stylesheets/govuk-template-ie8.css')
govuk_ie7 = Bundle('.dist/stylesheets/govuk-template-ie7.css')
govuk_ie6 = Bundle('.dist/stylesheets/govuk-template-ie6.css')

govuk_print = Bundle('.dist/stylesheets/govuk-template-print.css')

elements = Bundle('.dist/stylesheets/elements.css',
                  'app/stylesheets/application.scss',
                  filters=(compile_sass, 'cssmin'), output='.dist/stylesheets/main.css')

elements_ie8 = Bundle('.dist/stylesheets/elements-ie8.css',
                      '.dist/stylesheets/fonts-ie8.css',
                      'app/stylesheets/application.scss',
                      filters=(compile_sass, 'cssmin'), output='.dist/stylesheets/main-ie8.css')

elements_ie7 = Bundle('.dist/stylesheets/elements-ie7.css',
                      '.dist/stylesheets/fonts-ie8.css',
                      'app/stylesheets/application.scss',
                      filters=(compile_sass, 'cssmin'), output='.dist/stylesheets/main-ie7.css')

elements_ie6 = Bundle('.dist/stylesheets/elements-ie6.css',
                      '.dist/stylesheets/fonts-ie8.css',
                      'app/stylesheets/application.scss',
                      filters=(compile_sass, 'cssmin'), output='.dist/stylesheets/main-ie6.css')


js_polyfills_ie9 = Bundle('.dist/javascripts/polyfills-ie9.js')
js_polyfills_ie8 = Bundle('.dist/javascripts/polyfills-ie8.js')
js_promise = Bundle('.dist/javascripts/polyfills-promise.js')

js = Bundle('.dist/javascripts/govuk-template.js',
            '.dist/javascripts/landregistry.js',
            filters='rjsmin', output='.dist/javascripts/main.js')

js_map = Bundle('.land-registry-elements/assets/javascripts/leaflet.js',
                'app/javascripts/map.js',
                filters='rjsmin', output='.dist/javascripts/property-map.js')

js_googleanalytics = Bundle('app/javascripts/googleanalytics.js',
                            filters='rjsmin', output='.dist/javascripts/googleanalytics.js')

js_ga_search = Bundle('app/javascripts/ga_search.js',
                      filters='rjsmin', output='.dist/javascripts/ga_search.js')
{'fraction_non_alphanumeric': 0.14757799671592775, 'fraction_numerical': 0.0090311986863711, 'mean_word_length': 2.6257440476190474, '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': '774758', 'n_tokens_mistral': 1605, 'n_tokens_neox': 1482, 'n_words': 161}