<commit_before><% module_namespacing do -%>
class <%= class_name %> < <%= parent_class_name.classify %>
  include OSC::Machete::SimpleJob::Statusable

<% attributes.select(&:reference?).each do |attribute| -%>
  belongs_to :<%= attribute.name %><%= ', polymorphic: true' if attribute.polymorphic? %>
<% end -%>
<% if attributes.any?(&:password_digest?) -%>
  has_secure_password
<% end -%>

  before_destroy { |j| j.job.delete(rmdir: true) if j.job }

  # Determine if the results are valid
  # def results_valid?
  #   # CODE GOES HERE
  # end
end
<% end -%><commit_msg>use the correct Statusable<commit_after><% module_namespacing do -%>
class <%= class_name %> < <%= parent_class_name.classify %>
  include OscMacheteRails::Statusable

<% attributes.select(&:reference?).each do |attribute| -%>
  belongs_to :<%= attribute.name %><%= ', polymorphic: true' if attribute.polymorphic? %>
<% end -%>
<% if attributes.any?(&:password_digest?) -%>
  has_secure_password
<% end -%>

  before_destroy { |j| j.job.delete(rmdir: true) if j.job }

  # Determine if the results are valid
  # def results_valid?
  #   # CODE GOES HERE
  # end
end
<% end -%>
{'fraction_non_alphanumeric': 0.17262423714036618, 'fraction_numerical': 0.0, 'mean_word_length': 4.415094339622642, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 23, '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': '7584105', 'n_tokens_mistral': 440, 'n_tokens_neox': 391, 'n_words': 87}