<commit_before>desc 'Update the statistics stored for next version'
task 'update_downstream_build_stats' do
  derive_versions

  sh "buildr clean arez:downstream-test:test:compile DOWNSTREAM=no TEST=only GWT=no PRODUCT_VERSION=#{ENV['PRODUCT_VERSION']} PREVIOUS_PRODUCT_VERSION=#{ENV['PREVIOUS_PRODUCT_VERSION']} STORE_BUILD_STATISTICS=true"
end

desc 'Test the statistics stored for next version'
task 'test_downstream_build_stats' do
  derive_versions

  sh "buildr clean arez:downstream-test:test DOWNSTREAM=no TEST=only GWT=no PRODUCT_VERSION=#{ENV['PRODUCT_VERSION']} PREVIOUS_PRODUCT_VERSION=#{ENV['PREVIOUS_PRODUCT_VERSION']}"
end<commit_msg>Build a smaller number of modues to cover just those required by tool<commit_after>desc 'Update the statistics stored for next version'
task 'update_downstream_build_stats' do
  derive_versions

  sh "buildr clean arez:core:test:compile DOWNSTREAM=no TEST=only GWT=no PRODUCT_VERSION=#{ENV['PRODUCT_VERSION']} PREVIOUS_PRODUCT_VERSION=#{ENV['PREVIOUS_PRODUCT_VERSION']} STORE_BUILD_STATISTICS=true"
end

desc 'Test the statistics stored for next version'
task 'test_downstream_build_stats' do
  derive_versions

  sh "buildr clean arez:downstream-test:test DOWNSTREAM=no TEST=only GWT=no PRODUCT_VERSION=#{ENV['PRODUCT_VERSION']} PREVIOUS_PRODUCT_VERSION=#{ENV['PREVIOUS_PRODUCT_VERSION']}"
end
{'fraction_non_alphanumeric': 0.09009679821295608, 'fraction_numerical': 0.0, 'mean_word_length': 9.666666666666666, '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': '1873587', 'n_tokens_mistral': 451, 'n_tokens_neox': 432, 'n_words': 101}