<commit_before>section.section
  .w-container
    .w-row
      article.w-hidden-small.w-hidden-tiny
        #project_about.content.w-col.w-col-8 = render 'project_about'

        #project_posts.content.w-col.w-col-8.w-hidden[data-path=project_posts_path(project_id: @project.id)]
          = render 'edit_action', text: 'Editar novidates', anchor: 'notifications'
          .posts
            | &nbsp;
          #posts-loading.loader.u-text-center.w-col.w-col-12 = image_tag "catarse_bootstrap/loader.gif"

        #project_contributions.content.w-col.w-col-8.w-hidden[data-path=project_contributions_path(project_id: @project.id)]
          - if policy(@project).update?
            .w-row
              .w-col.w-col-1
                = radio_button_tag(:contribution_state, "available_to_count", checked: true)
              .w-col.w-col-5
                = label_tag(:contribution_state_available_to_count, t('.contribution_states.confirmed'))
              .w-col.w-col-1
                = radio_button_tag(:contribution_state, "waiting_confirmation")
              .w-col.w-col-5
                = label_tag(:contribution_state_waiting_confirmation, t('.contributions_states.pending'))
            .divider.u-marginbottom-20
          .results[data-skiptab="true"]
            | &nbsp;
          #contributions-loading.loader.u-text-center.w-col.w-col-12 = image_tag "catarse_bootstrap/loader.gif"

        #project_comments.content.w-col.w-col-8.w-hidden

      #project-sidebar.aside.w-col.w-col-4
        .project-stats
          .project-stats-numbers.u-marginbottom-20.w-hidden-small.w-hidden-tiny
            .w-hidden-small.w-hidden-tiny.u-marginbottom-10
              .fontsize-largest = @project.display_pledged
              .fontsize-small = t('.sidebar.goal', total: @project.display_goal).html_safe
            .w-hidden-small.w-hidden-tiny.u-marginbottom-10
              .fontsize-largest = @project.total_contributions
              .fontsize-small = t('.sidebar.contributions')
            .w-hidden-small.w-hidden-tiny.u-marginbottom-10
              - if @project.draft? || @project.rejected?
                .fontsize-largest = @project.online_days
                .fontsize-small #{@project.online_days} #{pluralize_without_number(@project.online_days, I18n.t('datetime.prompts.day').downcase)} #{pluralize_without_number(@project.online_days, t('remaining_singular'), t('remaining_plural'))}
              - else
                .fontsize-largest = @project.remaining_days
                .fontsize-small #{@project.time_to_go[:unit].capitalize} #{pluralize_without_number(@project.time_to_go[:time], t('remaining_singular'), t('remaining_plural'))}

          - if @project.online? && !@project.expired?
            = link_to t('.contribute_project.submit'), new_project_contribution_path(@project), id: 'contribute_project_form', class: "btn btn-large u-marginbottom-20"

          .fontsize-smaller.u-marginbottom-30[class=@project.display_card_class]
            = t(".contribute_project.display_status.#{@project.display_status}", goal: @project.display_goal, date: @project.display_expires_at)

        .card.card-user.u-radius.u-marginbottom-30
          .w-clearfix
            = image_tag @project.user.display_image, width: "100", class: "thumb u-left u-radius u-marginbottom-30"
            .fontsize-small.fontweight-semibold.lineheight-tighter = link_to @project.user.display_name, user_path(@project.user), class: 'link-hidden'
            .fontsize-smallest.lineheight-looser = @project.user.address_city
          .fontsize-smallest = t('created_project', count: @project.user.projects.size)
          .fontsize-smallest = t('contributed_project', count: @project.user.total_contributed_projects)
          .project-author-contacts<commit_msg>only show created projects on user card<commit_after>section.section
  .w-container
    .w-row
      article.w-hidden-small.w-hidden-tiny
        #project_about.content.w-col.w-col-8 = render 'project_about'

        #project_posts.content.w-col.w-col-8.w-hidden[data-path=project_posts_path(project_id: @project.id)]
          = render 'edit_action', text: 'Editar novidates', anchor: 'notifications'
          .posts
            | &nbsp;
          #posts-loading.loader.u-text-center.w-col.w-col-12 = image_tag "catarse_bootstrap/loader.gif"

        #project_contributions.content.w-col.w-col-8.w-hidden[data-path=project_contributions_path(project_id: @project.id)]
          - if policy(@project).update?
            .w-row
              .w-col.w-col-1
                = radio_button_tag(:contribution_state, "available_to_count", checked: true)
              .w-col.w-col-5
                = label_tag(:contribution_state_available_to_count, t('.contribution_states.confirmed'))
              .w-col.w-col-1
                = radio_button_tag(:contribution_state, "waiting_confirmation")
              .w-col.w-col-5
                = label_tag(:contribution_state_waiting_confirmation, t('.contributions_states.pending'))
            .divider.u-marginbottom-20
          .results[data-skiptab="true"]
            | &nbsp;
          #contributions-loading.loader.u-text-center.w-col.w-col-12 = image_tag "catarse_bootstrap/loader.gif"

        #project_comments.content.w-col.w-col-8.w-hidden

      #project-sidebar.aside.w-col.w-col-4
        .project-stats
          .project-stats-numbers.u-marginbottom-20.w-hidden-small.w-hidden-tiny
            .w-hidden-small.w-hidden-tiny.u-marginbottom-10
              .fontsize-largest = @project.display_pledged
              .fontsize-small = t('.sidebar.goal', total: @project.display_goal).html_safe
            .w-hidden-small.w-hidden-tiny.u-marginbottom-10
              .fontsize-largest = @project.total_contributions
              .fontsize-small = t('.sidebar.contributions')
            .w-hidden-small.w-hidden-tiny.u-marginbottom-10
              - if @project.draft? || @project.rejected?
                .fontsize-largest = @project.online_days
                .fontsize-small #{@project.online_days} #{pluralize_without_number(@project.online_days, I18n.t('datetime.prompts.day').downcase)} #{pluralize_without_number(@project.online_days, t('remaining_singular'), t('remaining_plural'))}
              - else
                .fontsize-largest = @project.remaining_days
                .fontsize-small #{@project.time_to_go[:unit].capitalize} #{pluralize_without_number(@project.time_to_go[:time], t('remaining_singular'), t('remaining_plural'))}

          - if @project.online? && !@project.expired?
            = link_to t('.contribute_project.submit'), new_project_contribution_path(@project), id: 'contribute_project_form', class: "btn btn-large u-marginbottom-20"

          .fontsize-smaller.u-marginbottom-30[class=@<EMAIL>card_class]
            = t(".contribute_project.display_status.#{@project.display_status}", goal: @project.display_goal, date: @project.display_expires_at)

        .card.card-user.u-radius.u-marginbottom-30
          .w-clearfix
            = image_tag @project.user.display_image, width: "100", class: "thumb u-left u-radius u-marginbottom-30"
            .fontsize-small.fontweight-semibold.lineheight-tighter = link_to @project.user.display_name, user_path(@project.user), class: 'link-hidden'
            .fontsize-smallest.lineheight-looser = @project.user.address_city
          .fontsize-smallest = t('created_project', count: @project.user.created_projects.size)
          .fontsize-smallest = t('contributed_project', count: @project.user.total_contributed_projects)
          .project-author-contacts
{'fraction_non_alphanumeric': 0.13541255428345836, 'fraction_numerical': 0.0094749309119621, 'mean_word_length': 2.6857419980601356, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2766925', 'n_tokens_mistral': 2483, 'n_tokens_neox': 2372, 'n_words': 263}