<commit_before>'use strict';
var insertAnalyzers = require('./analytics').insertAnalyzers;
var workerCount = require('os').cpus().length;
var processDone = 0;
var moment = require('moment');

var _context;

var argv = require('yargs')
    .argv;

function getJob() {
    var jobFile;

    jobFile = process.cwd() + '/job.json';

    if (argv.job) {
        jobFile = argv.job;<commit_msg>-j works with absolute path<commit_after>'use strict';
var insertAnalyzers = require('./analytics').insertAnalyzers;
var workerCount = require('os').cpus().length;
var processDone = 0;
var moment = require('moment');
var fs = require('fs');

var _context;

var argv = require('yargs')
    .alias('j', 'job')
    .argv;

function getJob() {
    var jobFile;
    jobFile = process.cwd() + '/job.json';

    if (argv.job) {
        jobFile = argv.job;
    }
    if (!fs.existsSync(jobFile)) {
        throw new Error("Could not find a usable job.json at path: " + jobFile);
{'fraction_non_alphanumeric': 0.1617954070981211, 'fraction_numerical': 0.0020876826722338203, 'mean_word_length': 3.5450236966824646, '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': '614941', 'n_tokens_mistral': 318, 'n_tokens_neox': 309, 'n_words': 83}