<commit_before>import {Observable} from 'rx';
import request from 'request-promise';
import {getOriginForRepo} from './git-api';
import {getSanitizedRepoUrl, getNwoFromRepoUrl} from './github-api';
import createRefServer from './ref-server-api';

import BuildMonitor from './build-monitor';
import './custom-rx-operators';

import {Observable} from 'rx';
import ON_DEATH from 'death';

const d = require('debug')('surf:run-on-every-ref');

const DeathPromise = new Promise((res,rej) => {
  ON_DEATH((sig) => rej(new Error(`Signal ${sig} thrown`)));
});

function getRandomInt(min, max) {<commit_msg>hwhoops<commit_after>import {Observable} from 'rx';
import request from 'request-promise';
import {getOriginForRepo} from './git-api';
import {getSanitizedRepoUrl, getNwoFromRepoUrl} from './github-api';
import createRefServer from './ref-server-api';
import ON_DEATH from 'death';

import BuildMonitor from './build-monitor';
import './custom-rx-operators';


const d = require('debug')('surf:run-on-every-ref');

const DeathPromise = new Promise((res,rej) => {
  ON_DEATH((sig) => rej(new Error(`Signal ${sig} thrown`)));
});

function getRandomInt(min, max) {
{'fraction_non_alphanumeric': 0.17140396210163653, 'fraction_numerical': 0.0, 'mean_word_length': 6.042424242424242, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2334706', 'n_tokens_mistral': 381, 'n_tokens_neox': 383, 'n_words': 96}