<commit_before>.project_box
  .project_wrap
    - if project.expired?
      .status_image
        = link_to project_path(project) do
          - if project.successful?
            = image_tag "sites/#{current_site.path}/successful.#{I18n.locale}.png"
          - elsif project.waiting_confirmation?
            = image_tag "sites/#{current_site.path}/waiting_confirmation.#{I18n.locale}.png"
          - else
            = image_tag "sites/#{current_site.path}/not_successful.#{I18n.locale}.png"
    .project_category= project.category.name
    .project_header
      = link_to project_path(project) do
        .project_image= image_tag project.display_image
        %h1= project.name
    .project_owner
      por #{project.user.name}
    .project_headline
      - if current_user and current_user.admin
        #{on_the_spot_edit project, :headline}
      - else
        = project.headline
    .clear
  .project_progress
    .progress_bar
      .progress{ :style => "width: #{project.display_percent}%" }
        &nbsp;
    .progress_info
      %ul
        %li
          %strong #{project.percent}%
          %br
          = t('.reached')
        %li
          %strong= project.display_pledged
          %br
          = t('.backed')
        %li
          %strong #{project.time_to_go[:time]} #{project.time_to_go[:unit]}
          %br
          #{pluralize_without_number(project.time_to_go[:time], t('remaining_singular'), t('remaining_plural'))}
- if project_curated_page.count > 0 and project_curated_page.first.description
  .project_curator_description
    %span= project_curated_page.first.description<commit_msg>should check if project_curated_page is defined<commit_after>.project_box
  .project_wrap
    - if project.expired?
      .status_image
        = link_to project_path(project) do
          - if project.successful?
            = image_tag "sites/#{current_site.path}/successful.#{I18n.locale}.png"
          - elsif project.waiting_confirmation?
            = image_tag "sites/#{current_site.path}/waiting_confirmation.#{I18n.locale}.png"
          - else
            = image_tag "sites/#{current_site.path}/not_successful.#{I18n.locale}.png"
    .project_category= project.category.name
    .project_header
      = link_to project_path(project) do
        .project_image= image_tag project.display_image
        %h1= project.name
    .project_owner
      por #{project.user.name}
    .project_headline
      - if current_user and current_user.admin
        #{on_the_spot_edit project, :headline}
      - else
        = project.headline
    .clear
  .project_progress
    .progress_bar
      .progress{ :style => "width: #{project.display_percent}%" }
        &nbsp;
    .progress_info
      %ul
        %li
          %strong #{project.percent}%
          %br
          = t('.reached')
        %li
          %strong= project.display_pledged
          %br
          = t('.backed')
        %li
          %strong #{project.time_to_go[:time]} #{project.time_to_go[:unit]}
          %br
          #{pluralize_without_number(project.time_to_go[:time], t('remaining_singular'), t('remaining_plural'))}
- if defined?(project_curated_page) and project_curated_page.count > 0 and project_curated_page.first.description
  .project_curator_description
    %span= project_curated_page.first.description
{'fraction_non_alphanumeric': 0.11400060477774418, 'fraction_numerical': 0.004838221953432114, 'mean_word_length': 2.482105263157895, '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': '3295576', 'n_tokens_mistral': 1035, 'n_tokens_neox': 1031, 'n_words': 164}