<commit_before><!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=$sourceEncoding$">
    <title>Jasmine Spec Runner</title>
    $cssDependencies$
    $javascriptDependencies$
    <script type="text/javascript" src="$requirejsPath$"></script>
</head>
<body>
<script type="text/javascript">
    if(window.location.href.indexOf("ManualSpecRunner.html") !== -1) {
        document.body.appendChild(document.createTextNode("Warning: opening this HTML file directly from the file system is deprecated. You should instead try running `mvn jasmine:bdd` from the command line, and then visit `http://localhost:8234` in your browser. "))
    }

    // Eval is needed because spec variable can be NOTHING, and the output will be ; and break the javascript
    var specs = eval($specs$);

    var testPath = "/src/test/js/";
    if ("$reporter$" === "JsApiReporter") {
        // mvn test
        testPath = "../spec/";
    }
  
    var requireConfig = {
        baseUrl: '$sourceDir$',
        paths: {
            'jquery': 'vendor/jquery',
            'underscore': 'vendor/underscore',
            'backbone': 'vendor/backbone',
            'hogan': 'vendor/hogan',
            'hgn': 'vendor/plugin/hgn',
            'text': 'vendor/plugin/text',
            'handlebars': 'vendor/customHandlebars',
            'hb': 'vendor/plugin/hb',
            'sinon': testPath + 'vendor/sinon-1.5.0',
            'jasmine_sinon': testPath + 'vendor/jasmine-sinon'
        },

        shim: {
            'underscore': {
                exports: '_'
            },
            'backbone': {
                deps: ['underscore', 'jquery'],
                exports: 'Backbone'
            },
            'sinon': {
                deps: ['jasmine_sinon'],
                exports: 'sinon'
            }
        }
    };

    require.config(requireConfig);

    require(specs, function() {
        window.reporter = new jasmine.$reporter$(); jasmine.getEnv().addReporter(reporter);
        jasmine.getEnv().execute();
    });
</script>
</body>
</html><commit_msg>Fixed the SpecRunner so it can handle running a spesific test<commit_after><!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=$sourceEncoding$">
    <title>Jasmine Spec Runner</title>
    $cssDependencies$
    $javascriptDependencies$
    <script type="text/javascript" src="$requirejsPath$"></script>
</head>
<body>
<script type="text/javascript">
    if(window.location.href.indexOf("ManualSpecRunner.html") !== -1) {
        document.body.appendChild(document.createTextNode("Warning: opening this HTML file directly from the file system is deprecated. You should instead try running `mvn jasmine:bdd` from the command line, and then visit `http://localhost:8234` in your browser. "))
    }

    // Eval is needed because spec variable can be NOTHING, and the output will be ; and break the javascript
    var specs = eval($specs$);

    var testPath = "/src/test/js/";
    if ("$reporter$" === "JsApiReporter") {
        // mvn test
        testPath = "../spec/";
    }
  
    var requireConfig = {
        baseUrl: '$sourceDir$',
        paths: {
            'jquery': 'vendor/jquery',
            'underscore': 'vendor/underscore',
            'backbone': 'vendor/backbone',
            'hogan': 'vendor/hogan',
            'hgn': 'vendor/plugin/hgn',
            'text': 'vendor/plugin/text',
            'handlebars': 'vendor/customHandlebars',
            'hb': 'vendor/plugin/hb',
            'sinon': testPath + 'vendor/sinon-1.5.0',
            'jasmine_sinon': testPath + 'vendor/jasmine-sinon'
        },

        shim: {
            'underscore': {
                exports: '_'
            },
            'backbone': {
                deps: ['underscore', 'jquery'],
                exports: 'Backbone'
            },
            'sinon': {
                deps: ['jasmine_sinon'],
                exports: 'sinon'
            }
        }
    };

    require.config(requireConfig);

    require(specs, function() {
        window.reporter = new jasmine.$reporter$(); jasmine.getEnv().addReporter(reporter);

        if ('$reporter$' === 'HtmlReporter') {
            jasmine.getEnv().specFilter = function(spec) {
                return reporter.specFilter(spec);
            }
        }

        jasmine.getEnv().execute();
    });
</script>
</body>
</html>
{'fraction_non_alphanumeric': 0.14993184915947297, 'fraction_numerical': 0.003634711494775102, 'mean_word_length': 2.1653486700215674, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '5367170', 'n_tokens_mistral': 1351, 'n_tokens_neox': 1274, 'n_words': 286}