<commit_before>#!/usr/bin/env node

const Jasmine = require('jasmine');
const JasmineConsoleReporter = require('../index.js');
const jasmineConfig = require('./config/jasmine.config.json');

// setup Jasmine
const jasmine = new Jasmine();
jasmine.loadConfig(jasmineConfig);
jasmine.jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;

// setup reporter
const reporterConfigFile = process.argv[2] || './config/reporter.config-1.json';
const reporterConfig = require(reporterConfigFile);
const reporter = new JasmineConsoleReporter(reporterConfig);
jasmine.env.clearReporters();
jasmine.addReporter(reporter);

// run
console.log('');
console.log('--------------------------------------------------');
console.log('DEVELOPMENT TEST:', reporterConfigFile);
console.log('--------------------------------------------------');
console.log('');
jasmine.execute();<commit_msg>output config object<commit_after>#!/usr/bin/env node

const Jasmine = require('jasmine');
const JasmineConsoleReporter = require('../index.js');
const jasmineConfig = require('./config/jasmine.config.json');

// setup Jasmine
const jasmine = new Jasmine();
jasmine.loadConfig(jasmineConfig);
jasmine.jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;

// setup reporter
const reporterConfigFile = process.argv[2] || './config/reporter.config-1.json';
const reporterConfig = require(reporterConfigFile);
const reporter = new JasmineConsoleReporter(reporterConfig);
jasmine.env.clearReporters();
jasmine.addReporter(reporter);

// run
console.log('');
console.log('--------------------------------------------------');
console.log('DEVELOPMENT TEST:', reporterConfigFile);
console.log('--------------------------------------------------');
console.log('');
console.log('config:', JSON.stringify(reporterConfig, null, 2));
console.log('');
jasmine.execute();
{'fraction_non_alphanumeric': 0.2554016620498615, 'fraction_numerical': 0.008310249307479225, 'mean_word_length': 3.4813895781637716, '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': '3894978', 'n_tokens_mistral': 538, 'n_tokens_neox': 494, 'n_words': 94}