<commit_before>require 'sinatra'
require 'sequel'
require './lib/bundler_api_replay/web'
require './lib//bundler_api/consumer_pool'

$stdout.sync              = true
Thread.abort_on_exception = true

NUM_THREADS = 3
<commit_msg>set threads by an env var<commit_after>require 'sinatra'
require 'sequel'
require './lib/bundler_api_replay/web'
require './lib//bundler_api/consumer_pool'

$stdout.sync              = true
Thread.abort_on_exception = true

NUM_THREADS = ENV['THREADS'].to_i

{'fraction_non_alphanumeric': 0.11728395061728394, 'fraction_numerical': 0.00205761316872428, 'mean_word_length': 4.236559139784946, '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': '6973187', 'n_tokens_mistral': 169, 'n_tokens_neox': 167, 'n_words': 33}