<commit_before>if JsonVersion.table_exists?

  require 'rails_helper'
<commit_msg>Fix NameError: uninitialized constant JsonVersion<commit_after>require 'rails_helper'

# The `json_versions` table tests postgres' `json` data type. So, that
# table is only created when testing against postgres and ActiveRecord >= 4.
if JsonVersion.table_exists?

{'fraction_non_alphanumeric': 0.07803468208092486, 'fraction_numerical': 0.002890173410404624, 'mean_word_length': 6.711111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6518257', 'n_tokens_mistral': 102, 'n_tokens_neox': 98, 'n_words': 33}