<commit_before>- if child.grand_total_for?(@report.perspective, @report.from_date, @report.to_date)
  %tr.descendant
    %td
      - (child.depth - 1).times do
        %span.indentation
      =h child.name
    %td.currency
      - if child.total_for?(@report.perspective, @report.from_date, @report.to_date)
        = monetize(child.total_for_in_base_currency(@report.perspective, @report.from_date, @report.to_date, @report.base_currency) * switch_sign_if_income_statement, @report.base_currency)
  = render :partial => "child", :collection => child.children<commit_msg>Display subtotals for all intermediary accounts. I also indented the subtotals in the right column to ease the reading. Should figure out a better solution later.<commit_after>- if child.grand_total_for?(@report.perspective, @report.from_date, @report.to_date)
  %tr.descendant
    %td
      - (child.depth - 1).times do
        %span.indentation
      =h child.name
    %td.currency
      = monetize(child.grand_total_for_in_base_currency(@report.perspective, @report.from_date, @report.to_date, @report.base_currency) * switch_sign_if_income_statement, @report.base_currency)
      - (child.depth - 1).times do
        %span.indentation
  = render :partial => "child", :collection => child.children
{'fraction_non_alphanumeric': 0.11801730920535011, 'fraction_numerical': 0.0023603461841070024, 'mean_word_length': 4.088, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4103498', 'n_tokens_mistral': 411, 'n_tokens_neox': 400, 'n_words': 82}