<commit_before>class MobileFallbackResolver < ::ActionView::FileSystemResolver
  def find_templates(name, prefix, partial, details)
    if details[:formats] == [:mobile]
      # Add a fallback for html, for the case where, eg, 'index.html.haml' exists, but not 'index.mobile.haml'
      details = details.dup
      details[:formats] = [:mobile, :html]
    end
    super
  end
end<commit_msg>correctly namespace inside module name<commit_after>module Resolvers
  class MobileFallbackResolver < ::ActionView::FileSystemResolver
    def find_templates(name, prefix, partial, details)
      if details[:formats] == [:mobile]
        # Add a fallback for html, for the case where, eg, 'index.html.haml' exists, but not 'index.mobile.haml'
        details = details.dup
        details[:formats] = [:mobile, :html]
      end
      super
    end
  end
end
{'fraction_non_alphanumeric': 0.10613207547169812, 'fraction_numerical': 0.0, 'mean_word_length': 3.614130434782609, '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': '7577036', 'n_tokens_mistral': 253, 'n_tokens_neox': 252, 'n_words': 76}