<commit_before>class PoaLineItemTitleRecord < ActiveRecord::Base
  include Updateable
  extend PoaRecord

  belongs_to :poa_order_header

  belongs_to :cdf_binding_code

  def self.spec(d)
    d.poa_line_item_title_record do |l|
      l.trap {|line| line[0,2] == '42'}
      l.template :poa_defaults_plus
      l.title 30
      l.author 20
      l.binding_code 1
    end
  end

  def before_populate(data)
    cdf_binding_code = CdfBindingCode.find_by_code(data[:binding_code])
    data[:cdf_binding_code_id] = cdf_binding_code.id unless cdf_binding_code.nil?
  end
end
<commit_msg>poa_file_spec: testing additional line item record<commit_after># Record 42
class PoaLineItemTitleRecord < ActiveRecord::Base
  include Updateable
  extend PoaRecord

  belongs_to :poa_order_header
  belongs_to :cdf_binding_code

  def self.spec(d)
    d.poa_line_item_title_record do |l|
      l.trap {|line| line[0,2] == '42'}
      l.template :poa_defaults_plus
      l.title 30
      l.author 20
      l.binding_code 1
    end
  end

  def before_populate(data)
    cdf_binding_code = CdfBindingCode.find_by_code!(data[:binding_code])
    data[:cdf_binding_code_id] = cdf_binding_code.id unless cdf_binding_code.nil?
  end
end

{'fraction_non_alphanumeric': 0.07996702390766694, 'fraction_numerical': 0.016488046166529265, 'mean_word_length': 3.8951612903225805, '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': '2125684', 'n_tokens_mistral': 465, 'n_tokens_neox': 447, 'n_words': 88}