<commit_before>module Vx
  module Builder
    class Task

      attr_reader :name, :src, :sha, :ssh_keys, :env_vars, :branch, :pull_request_id,
        :job_id, :build_id, :build_number, :job_number,
        :project_host, :project_token,
        :cache_read_url, :cache_write_url

      def initialize(options = {})
        @name                 = options[:name]
        @src                  = options[:src]
        @sha                  = options[:sha]
        @job_id               = options[:job_id]
        @build_id             = options[:build_id]
        @ssh_keys             = options[:ssh_keys]
        @env_vars             = options[:env_vars]
        @branch               = options[:branch]
        @pull_request_id      = options[:pull_request_id]<commit_msg>empty hash if env vars nil<commit_after>module Vx
  module Builder
    class Task

      attr_reader :name, :src, :sha, :ssh_keys, :env_vars, :branch, :pull_request_id,
        :job_id, :build_id, :build_number, :job_number,
        :project_host, :project_token,
        :cache_read_url, :cache_write_url

      def initialize(options = {})
        @name                 = options[:name]
        @src                  = options[:src]
        @sha                  = options[:sha]
        @job_id               = options[:job_id]
        @build_id             = options[:build_id]
        @ssh_keys             = options[:ssh_keys]
        @env_vars             = options[:env_vars] || {}
        @branch               = options[:branch]
        @pull_request_id      = options[:pull_request_id]
{'fraction_non_alphanumeric': 0.10693825588796944, 'fraction_numerical': 0.0, 'mean_word_length': 1.7010309278350515, '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': '1965253', 'n_tokens_mistral': 469, 'n_tokens_neox': 456, 'n_words': 88}