<commit_before>.w-row.w-hidden-small.w-hidden-tiny.card.card-secondary
  .w-col.w-col-3
    .fontsize-small.fontweight-semibold= t('.contributed_projects') 
  .w-col.w-col-2
    .fontsize-small.fontweight-semibold= t('.contribution_value') 
  .w-col.w-col-3
    .fontsize-small.fontweight-semibold= t('.contribution_status') 
  .w-col.w-col-4
    .fontsize-small.fontweight-semibold= t('.reward') 

- collection.each do |contribution|
  - project = contribution.project
  .w-row.card
    .w-col.w-col-3
      .w-row
        .w-col.w-col-4.u-marginbottom-10
          = link_to (image_tag project.display_image, class: 'thumb-project u-radius', alt: project.name, width: 50), project_by_slug_path(project.permalink)
        .w-col.w-col-8
          .fontsize-small.fontweight-semibold= project.name
    .w-col.w-col-2.u-marginbottom-10
      .fontsize-base.inline-block
        span.w-hidden-main.w-hidden-medium.fontweight-semibold>= Contribution.human_attribute_name(:value)
        = contribution.decorate.display_value
    .w-col.w-col-3.u-marginbottom-10
      .w-hidden-main.w-hidden-medium.fontsize-smallest.fontweight-semibold>= Payment.human_attribute_name(:state)
      .fontsize-smallest 
        = "#{contribution.decorate.display_payment_details} #{contribution.decorate.display_installment_details}"
      - if project.failed? && contribution.paid? && contribution.slip_payment? && contribution.gateway == 'Pagarme'
        = link_to t('.request_refund'), new_bank_account_path, class: "btn btn-inline btn-small u-margintop-10"
      - else
        .fontsize-smallest<commit_msg>adjust conditions to look at refund queue like e use for showing alert<commit_after>.w-row.w-hidden-small.w-hidden-tiny.card.card-secondary
  .w-col.w-col-3
    .fontsize-small.fontweight-semibold= t('.contributed_projects') 
  .w-col.w-col-2
    .fontsize-small.fontweight-semibold= t('.contribution_value') 
  .w-col.w-col-3
    .fontsize-small.fontweight-semibold= t('.contribution_status') 
  .w-col.w-col-4
    .fontsize-small.fontweight-semibold= t('.reward') 

- collection.each do |contribution|
  - project = contribution.project
  - payment = contribution.payment
  .w-row.card
    .w-col.w-col-3
      .w-row
        .w-col.w-col-4.u-marginbottom-10
          = link_to (image_tag project.display_image, class: 'thumb-project u-radius', alt: project.name, width: 50), project_by_slug_path(project.permalink)
        .w-col.w-col-8
          .fontsize-small.fontweight-semibold= project.name
    .w-col.w-col-2.u-marginbottom-10
      .fontsize-base.inline-block
        span.w-hidden-main.w-hidden-medium.fontweight-semibold>= Contribution.human_attribute_name(:value)
        = contribution.decorate.display_value
    .w-col.w-col-3.u-marginbottom-10
      .w-hidden-main.w-hidden-medium.fontsize-smallest.fontweight-semibold>= Payment.human_attribute_name(:state)
      .fontsize-smallest 
        = "#{contribution.decorate.display_payment_details} #{contribution.decorate.display_installment_details}"
      - if project.failed? && contribution.paid? && contribution.slip_payment? && payment.is_pagarme? && !payment.already_in_refund_queue?
        = link_to t('.request_refund'), new_bank_account_path, class: "btn btn-inline btn-small u-margintop-10"
      - else
        .fontsize-smallest
{'fraction_non_alphanumeric': 0.14277053652622007, 'fraction_numerical': 0.011518642012731131, 'mean_word_length': 3.198473282442748, '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': '6814665', 'n_tokens_mistral': 1191, 'n_tokens_neox': 1157, 'n_words': 139}