<commit_before>div class=(policy(project.user).update? ? 'project_land u-marginbottom-40' : 'small_project_land u-marginbottom-40')
  .title
    h4
      = link_to project.name, project_by_slug_path(project.permalink)
  .category style="background-color: #{project.color}"
    - unless project.recurring?
      h5 = project.category.send("name_#{I18n.locale}")
      = image_tag project.category.image.url, class: 'category-image'
  .info
    .cover
      img[src=project.display_image width="218px" height="175px"]
    .project_infos
      p.author== project.user.name
      p.headline= project.headline
      .circle
        - circle_id = (project.id + Time.now.to_f).to_s
        - project_color = project.category.try(:color) || '#CCC'
        - multiply = %w(associacaoacorde pesquisadoacao).include?(project.permalink) ? 2 : 1
        - if %w(fundodebolsas boletos).include?(project.permalink)
          - multiply = 4
        .project_progress id="#{circle_id}"
        javascript:
          (function() {
            Circles.create({
              id: "#{circle_id}", radius: 30, value: "#{project.progress(multiply)}",
              text: "<div class='percent' style='color: #{project_color}'>#{project.progress(multiply)}%<div><span>da meta</span></div></div>",
              colors: ['#CCC', "#{project_color}"],
              duration: 0,
              width: 5
            });
          })();
      .time-remaining
        = t('projects.project.time_remaining_html', count: project.time_to_go[:time], unit: project.time_to_go[:unit], style: '')
      .collected-money
        = link_to t('projects.project.pledged_html', style: '', value: number_to_currency(project.pledged*multiply, precision: 0, unit: '')), project_by_slug_path(project.permalink), title: project.name, class: 'money-raised'
      /ul
        /li
          /- if project.time_to_go[:time] > 0
            /h6= "#{project.time_to_go[:time]} #{project.time_to_go[:unit]}"
            /p= project.remaining_text
          /- else
            /h6= project.display_status.blank? ? nil : I18n.t("projects.project.display_status.#{project.display_status}")
            /p= project.display_expires_at
        /li
          /h6= "#{project.progress} %"
          /p= t('projects.project.contributed')
        /li
          /h6= project.display_pledged
          /p= t('projects.project.reached')
    /.contribution_info style="background-color: #{project.category.color}"
      /- if contribution && policy(parent).update?
        /ul
          /- if contribution.display_value
            /li.value
              /h5= contribution.display_value
              /p Doados
          /li.date
            /h5
              /span.date<
                /|#{contribution.display_confirmed_at || I18n.l(contribution.created_at.to_date)}

    /.tell_about
      /p= t('.tell_about_this_contribution')
      /ul<commit_msg>Mudando o valor arrecadado<commit_after>div class=(policy(project.user).update? ? 'project_land u-marginbottom-40' : 'small_project_land u-marginbottom-40')
  .title
    h4
      = link_to project.name, project_by_slug_path(project.permalink)
  .category style="background-color: #{project.color}"
    - unless project.recurring?
      h5 = project.category.send("name_#{I18n.locale}")
      = image_tag project.category.image.url, class: 'category-image'
  .info
    .cover
      img[src=project.display_image width="218px" height="175px"]
    .project_infos
      p.author== project.user.name
      p.headline= project.headline
      .circle
        - circle_id = (project.id + Time.now.to_f).to_s
        - project_color = project.category.try(:color) || '#CCC'
        - multiply = %w(associacaoacorde pesquisadoacao).include?(project.permalink) ? 2 : 1
        - if %w(fundodebolsas boletos).include?(project.permalink)
          - multiply = 4
        .project_progress id="#{circle_id}"
        javascript:
          (function() {
            Circles.create({
              id: "#{circle_id}", radius: 30, value: "#{project.progress(multiply)}",
              text: "<div class='percent' style='color: #{project_color}'>#{project.progress(multiply)}%<div><span>da meta</span></div></div>",
              colors: ['#CCC', "#{project_color}"],
              duration: 0,
              width: 5
            });
          })();
      .time-remaining
        = t('projects.project.time_remaining_html', count: project.time_to_go[:time], unit: project.time_to_go[:unit], style: '')
      .collected-money
        = link_to t('projects.project.pledged_html', style: '', value: number_to_currency(project.display_pledged(multiply), precision: 0, unit: '')), project_by_slug_path(project.permalink), title: project.name, class: 'money-raised'
      /ul
        /li
          /- if project.time_to_go[:time] > 0
            /h6= "#{project.time_to_go[:time]} #{project.time_to_go[:unit]}"
            /p= project.remaining_text
          /- else
            /h6= project.display_status.blank? ? nil : I18n.t("projects.project.display_status.#{project.display_status}")
            /p= project.display_expires_at
        /li
          /h6= "#{project.progress} %"
          /p= t('projects.project.contributed')
        /li
          /h6= project.display_pledged
          /p= t('projects.project.reached')
    /.contribution_info style="background-color: #{project.category.color}"
      /- if contribution && policy(parent).update?
        /ul
          /- if contribution.display_value
            /li.value
              /h5= contribution.display_value
              /p Doados
          /li.date
            /h5
              /span.date<
                /|#{contribution.display_confirmed_at || I18n.l(contribution.created_at.to_date)}

    /.tell_about
      /p= t('.tell_about_this_contribution')
      /ul
{'fraction_non_alphanumeric': 0.1472212633759061, 'fraction_numerical': 0.011391094235415948, 'mean_word_length': 2.392857142857143, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '1345526', 'n_tokens_mistral': 1887, 'n_tokens_neox': 1820, 'n_words': 290}