<commit_before><%
  js_caching = Rails.root.writable? and RefinerySetting.find_or_set(:use_resource_caching, true)
  login = defined?(login) ? login : login?
-%><commit_msg>Define login as login? only if login is not defined. Makes more sense than a ternary here.<commit_after><%
  js_caching = Rails.root.writable? and RefinerySetting.find_or_set(:use_resource_caching, true)
  login = login? unless defined?(login)
-%>
{'fraction_non_alphanumeric': 0.11666666666666667, 'fraction_numerical': 0.0, 'mean_word_length': 5.901639344262295, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3821067', 'n_tokens_mistral': 140, 'n_tokens_neox': 136, 'n_words': 36}