<commit_before>require 'active_support/deprecation'
require 'active_support/core_ext/hash'

require "larrow/runner/version"
require 'larrow/runner/logger'

module Larrow
  module Runner
    RunLogger = if ENV['RUN_AS']=='test'
                  Logger.new 'test.log'
                else
                  Logger.new $stdout
                end
    RunOption = {}.with_indifferent_access
  end
end

require 'larrow/runner/option'
require 'larrow/runner/errors'
require 'larrow/runner/vcs'
require 'larrow/runner/manifest'
require 'larrow/runner/service'
require 'larrow/runner/helper'

require 'larrow/runner/manager'
require 'larrow/runner/image_builder'<commit_msg>use RUN_AS environment as log filename<commit_after>require 'active_support/deprecation'
require 'active_support/core_ext/hash'

require "larrow/runner/version"
require 'larrow/runner/logger'

module Larrow
  module Runner
    # default runtime logger
    RunLogger = if ENV['RUN_AS']
                  Logger.new "#{ENV['RUN_AS']}.log"
                else
                  Logger.new $stdout
                end
    # global options
    RunOption = {}.with_indifferent_access
  end
end

require 'larrow/runner/option'
require 'larrow/runner/errors'
require 'larrow/runner/vcs'
require 'larrow/runner/manifest'
require 'larrow/runner/service'
require 'larrow/runner/helper'

require 'larrow/runner/manager'
require 'larrow/runner/image_builder'
{'fraction_non_alphanumeric': 0.10120311394196745, 'fraction_numerical': 0.0, 'mean_word_length': 3.324159021406728, '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': '5962712', 'n_tokens_mistral': 442, 'n_tokens_neox': 429, 'n_words': 91}