<commit_before># You can enable the not-yet-complete Rails3 support by either defining a
# CANVAS_RAILS3 env var, or create an empty RAILS3 file in the canvas config dir
if ENV['CANVAS_RAILS3']
  CANVAS_RAILS3 = ENV['CANVAS_RAILS3'] != '0'
else
  CANVAS_RAILS3 = File.exist?(File.expand_path("../RAILS3", __FILE__))
end
CANVAS_RAILS2 = !CANVAS_RAILS3
<commit_msg>make Rails 3 the default<commit_after># You can disable the Rails3 support by either defining a
# CANVAS_RAILS3=0 env var, or create an empty RAILS2 file in the canvas config dir
if ENV['CANVAS_RAILS3']
  CANVAS_RAILS3 = ENV['CANVAS_RAILS3'] != '0'
else
  CANVAS_RAILS3 = !File.exist?(File.expand_path("../RAILS2", __FILE__))
end
CANVAS_RAILS2 = !CANVAS_RAILS3

{'fraction_non_alphanumeric': 0.10220994475138122, 'fraction_numerical': 0.03314917127071823, 'mean_word_length': 5.590909090909091, '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': '5735253', 'n_tokens_mistral': 304, 'n_tokens_neox': 300, 'n_words': 79}