<commit_before>// Karma configuration file, see link for more information
// https://karma-runner.github.io/0.13/config/configuration-file.html

module.exports = function (config) {
    config.set({
        basePath: '',
        frameworks: ['mocha', 'sinon-chai', '@angular/cli'],
        plugins: [
            require('karma-mocha'),
            require('karma-sinon-chai'),

            require('karma-mocha-clean-reporter'),
            require('karma-chrome-launcher'),
            require('karma-coverage-istanbul-reporter'),

            require('@angular/cli/plugins/karma')
        ],
        browserDisconnectTimeout: 30000,
        client: {
            clearContext: false
        },
        files: [
            { pattern: 'node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css', instrument: false },
        ],
        coverageIstanbulReporter: {
            reports: ['html', 'lcovonly'],
            fixWebpackSourcePaths: true
        },
        angularCli: {
            environment: 'dev'
        },
        reporters: ['mocha-clean'],<commit_msg>Increase Karma's browserNoActivityTimeout to fight timeouts in CI<commit_after>// Karma configuration file, see link for more information
// https://karma-runner.github.io/0.13/config/configuration-file.html

module.exports = function (config) {
    config.set({
        basePath: '',
        frameworks: ['mocha', 'sinon-chai', '@angular/cli'],
        plugins: [
            require('karma-mocha'),
            require('karma-sinon-chai'),

            require('karma-mocha-clean-reporter'),
            require('karma-chrome-launcher'),
            require('karma-coverage-istanbul-reporter'),

            require('@angular/cli/plugins/karma')
        ],
        browserDisconnectTimeout: 30000,
        browserNoActivityTimeout: 30000,
        client: {
            clearContext: false
        },
        files: [
            { pattern: 'node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css', instrument: false },
        ],
        coverageIstanbulReporter: {
            reports: ['html', 'lcovonly'],
            fixWebpackSourcePaths: true
        },
        angularCli: {
            environment: 'dev'
        },
        reporters: ['mocha-clean'],
{'fraction_non_alphanumeric': 0.1343680709534368, 'fraction_numerical': 0.009312638580931265, 'mean_word_length': 2.1074380165289255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6045607', 'n_tokens_mistral': 662, 'n_tokens_neox': 624, 'n_words': 102}