<commit_before>=partial :form
%table.report.nojs
  %tr.header
    %th
      Account Type
    %th
      Account
    %th
      Opening Balance 
    %th
      Debit
    %th
      Credit
    %th
      Total Balance
 
  - length = 3
  - org_total = []
  - debit_sum, credit_sum, opening_sum = 0 , 0 , 0
  - @data.each do |account|
    %tr
      %td
        - name = account.account_type.name
        = name 
      %td
        = account.name
      %td
        - opening_balance = account.opening_balance
        - opening_sum += opening_balance
        = account.opening_balance_on_date
        %br
        = opening_balance  
      %td
        - debit = (account.postings.sum(:amount, :amount.lte => 0)||0) * -1
        - debit_sum += debit
        = debit
      %td<commit_msg>small change in trial balance<commit_after>=partial :form
%table.report.nojs
  %tr.header
    %th
      Account Type
    %th
      Account
    %th
      Opening Balance 
    %th
      Debit
    %th
      Credit
    %th
      Total Balance
 
  - length = 3
  - org_total = []
  - debit_sum, credit_sum, opening_sum = 0 , 0 , 0
  - @data.each do |account|
    %tr
      %td
        = account.account_type.name
      %td
        = account.name
      %td
        - opening_balance = account.opening_balance
        - opening_sum += opening_balance
        = account.opening_balance_on_date
        %br
        = opening_balance  
      %td
        - debit = (account.postings.sum(:amount, :amount.lte => 0)||0) * -1
        - debit_sum += debit
        = debit
      %td
{'fraction_non_alphanumeric': 0.10006497725795971, 'fraction_numerical': 0.009096816114359974, 'mean_word_length': 1.588235294117647, 'pattern_counts': {'":': 0, '<': 3, '<?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': '522819', 'n_tokens_mistral': 530, 'n_tokens_neox': 496, 'n_words': 113}