<commit_before>class DocPdf < Prawn::Document
  def initialize(doc)
    super()
    @doc = doc
    text "#{@doc.title}"
  end 
end<commit_msg>Edit PDF template<commit_after>class DocPdf < Prawn::Document
  def initialize(doc)
    super()
    @doc = doc
    heading
    doc_info
  end 

  def heading
    text "#{@doc.user.first_name}'s #{@doc.title}"
  end

  def doc_info
    text "Loan Amount: #{@doc.amount}"
    text "Down Payment: #{@doc.down_payment}"
    text "Interest Rate: #{@doc.interest_rate}"
  end
end
{'fraction_non_alphanumeric': 0.13398058252427184, 'fraction_numerical': 0.0, 'mean_word_length': 3.2644628099173554, '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': '613873', 'n_tokens_mistral': 186, 'n_tokens_neox': 181, 'n_words': 46}