<commit_before>%tr[@booking]
  %td= @booking.value_date
  %td
    = link_to @booking.title, @booking, {'data-href-container' => 'tr'}
    - if @booking.comments.present?
      %hr{:style => "height: 1px; margin: 0"}/
      %i= @booking.comments
  %td= link_to @booking.reference.to_s(:reference), @booking.reference unless @booking.reference.nil?
  %td.currency= (@booking.credit_account == @account) ? currency_fmt(@booking.amount) : content_tag('i', link_to(@booking.credit_account.code, account_path(@booking.credit_account), :title => @booking.credit_account.title))
  %td.currency= (@booking.debit_account == @account) ? currency_fmt(@booking.amount) : content_tag('i', link_to(@booking.debit_account.code, account_path(@booking.debit_account), :title => @booking.debit_account.title))
  %td.currency= currency_fmt(@saldo)
  %td.action-links
    = list_link_for(:edit, [@account, @booking])
    = list_link_for(:delete, [@account, @booking], :remote => true)
    = list_link_for(:copy, @booking)<commit_msg>Do not try to link to referenced object for bookings in accounts view.<commit_after>%tr[@booking]
  %td= @booking.value_date
  %td
    = link_to @booking.title, @booking, {'data-href-container' => 'tr'}
    - if @booking.comments.present?
      %hr{:style => "height: 1px; margin: 0"}/
      %i= @booking.comments
  %td= @booking.reference.try(:to_s)
  %td.currency= (@booking.credit_account == @account) ? currency_fmt(@booking.amount) : content_tag('i', link_to(@booking.credit_account.code, account_path(@booking.credit_account), :title => @booking.credit_account.title))
  %td.currency= (@booking.debit_account == @account) ? currency_fmt(@booking.amount) : content_tag('i', link_to(@booking.debit_account.code, account_path(@booking.debit_account), :title => @booking.debit_account.title))
  %td.currency= currency_fmt(@saldo)
  %td.action-links
    = list_link_for(:edit, [@account, @booking])
    = list_link_for(:delete, [@account, @booking], :remote => true)
    = list_link_for(:copy, @booking)
{'fraction_non_alphanumeric': 0.1746031746031746, 'fraction_numerical': 0.001984126984126984, 'mean_word_length': 5.613114754098361, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '4320970', 'n_tokens_mistral': 728, 'n_tokens_neox': 711, 'n_words': 117}