<commit_before>require 'digest/md5'

module ABFab
  module Helpers
    def ab_choose(test_name)
      result = ABFab.tests[test_name].value_for(abfab_id)

      yield result if block_given?
      result
    end

    def ab_test(test_name, &block)
      ABFab.tests[test_name].add_participant(abfab_id)

      ab_choose(test_name, &block)
    end

    def fabulous!(*test_names)
      test_names.each do |test_name|
        ABFab.tests[test_name].add_conversion(abfab_id)
      end
    end
  end
end<commit_msg>Minor variable tweaking.<commit_after>require 'digest/md5'

module ABFab
  module Helpers
    def ab_choose(name)
      result = ABFab.tests[name].value_for(abfab_id)

      yield result if block_given?
      result
    end

    def ab_test(name, &block)
      ABFab.tests[name].add_participant(abfab_id)

      ab_choose(name, &block)
    end

    def fabulous!(*names)
      names.each { |name| ABFab.tests[name].add_conversion(abfab_id) }
    end
  end
end
{'fraction_non_alphanumeric': 0.09184726522187822, 'fraction_numerical': 0.0020639834881320948, 'mean_word_length': 3.0756302521008405, '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': '2056377', 'n_tokens_mistral': 369, 'n_tokens_neox': 338, 'n_words': 65}