<commit_before>require 'minitest/autorun'

require 'pry'

ENV['RAILS_ENV'] = 'test'
require 'sprockets/railtie'
require 'rails/test_unit/railtie'
require 'rails/test_help'

require File.expand_path('../../lib/js_asset_paths.rb', __FILE__)

ActiveSupport.test_order = :random

class App < Rails::Application
  config.eager_load = true

  config.assets.enabled = true
  config.assets.initialize_on_precompile = true
end<commit_msg>only randomize tests when option is available<commit_after>require 'minitest/autorun'

require 'pry'

ENV['RAILS_ENV'] = 'test'
require 'sprockets/railtie'
require 'rails/test_unit/railtie'
require 'rails/test_help'

require File.expand_path('../../lib/js_asset_paths.rb', __FILE__)

ActiveSupport.test_order = :random if ActiveSupport.respond_to?(:test_order)

class App < Rails::Application
  config.eager_load = true

  config.assets.enabled = true
  config.assets.initialize_on_precompile = true
end
{'fraction_non_alphanumeric': 0.11909871244635194, 'fraction_numerical': 0.0, 'mean_word_length': 5.760869565217392, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3906545', 'n_tokens_mistral': 327, 'n_tokens_neox': 320, 'n_words': 61}