<commit_before>- content_for :title, "#{@project.name} · #{CatarseSettings[:company_name]}"
- content_for :js do
  = javascript_include_tag 'redactor', '//www.google.com/jsapi'
- content_for :stylesheets do
  = stylesheet_link_tag 'redactor'
= render 'shared/header'
= javascript_include_tag "api/application"

.w-section.section-product[class=@project.mode]
#dashboard-titles-root.w-section.dashboard-header.u-text-center data-stats="#{@project.try(:to_analytics_json)}"
  .w-container
    .w-row
      .w-col.w-col-8.w-col-push-2.u-marginbottom-30
        #dashboard-page-title.fontweight-semibold.fontsize-larger.lineheight-looser
        #dashboard-page-subtitle.fontsize-base
.project-dashboard-edit
  = render partial: 'dashboard_nav', locals: {edit_page: true}
  section.min-height-70
    #current_anchor data-anchor="#{params[:anchor]}"
    #default-tab data-anchor='home'
    .w-section
      article
        #dashboard_home.content.w-hidden
          = render 'dashboard_home'
        #dashboard_goal.content.w-hidden  data-page_title="#{t('.goal')}" data-page_subtitle="#{t('.goal_subtitle')}"
          = render 'dashboard_goal'
        #dashboard_video.content.w-hidden  data-page_title=t(".#{@project.mode}.video_html") data-page_subtitle=t(".#{@project.mode}.video_subtitle")
          = render 'dashboard_video'
        #dashboard_budget.content.w-hidden data-page_title=t(".#{@project.mode}.budget_html") data-page_subtitle="#{t('.budget_subtitle')}"
          = render 'dashboard_budget'
        #dashboard_card.content.w-hidden data-page_title="#{t('.card')}" data-page_subtitle="#{t('.card_subtitle')}"
          = render 'dashboard_card'
        #dashboard_description.content.w-hidden data-page_title="#{t('.description')}" data-page_subtitle="#{t('.description_subtitle')}"
          = render 'dashboard_description'
        - if !@project.published? || (current_user && current_user.admin?)
          #dashboard_analysis_success.content.w-hidden data-page_title="" data-page_subtitle=""
            = render 'dashboard_analysis_success'
          #dashboard_basics.content.w-hidden data-page_title="#{t('.basics')}" data-page_subtitle="#{t('.basics_subtitle')}"
            = render 'dashboard_basics'
        - if @project.published?
          #dashboard_posts.content.w-hidden data-page_title="#{t('.posts')}" data-page_subtitle=""
            = render 'dashboard_posts'
        #dashboard_reward.content.w-hidden data-page_title=t(".reward_html") data-page_subtitle=t(".reward_subtitle")
          = render 'dashboard_reward'
        - if @project.published?
          #dashboard_reports.content.w-hidden data-page_title="#{t('.reports')}" data-page_subtitle=""
            = render 'dashboard_reports'
        #dashboard_user_about.content.w-hidden data-page_title="#{t('.user_about')}" data-page_subtitle="#{t('.user_about_subtitle')}"
          = render 'dashboard_user_about'
        - if @project.expires_at.nil? && @project.open_for_contributions?
          #dashboard_announce_expiration.content.w-hidden data-page_title=t('.announce_expiration') data-page_subtitle=t('.announce_expiration_subtitle')
            = render 'dashboard_announce_expiration'
        #dashboard_preview.content.w-hidden data-page_subtitle="" data-page_title=""
          = render 'dashboard_preview'
        #dashboard_user_settings.content.w-hidden data-page_title="#{t('.user_settings')}" data-page_subtitle="#{t('.user_settings_subtitle')}"
          = render 'dashboard_user_settings'

= javascript_include_tag 'api/application'
= render 'shared/footer'<commit_msg>remove duplication on include api/application<commit_after>- content_for :title, "#{@project.name} · #{CatarseSettings[:company_name]}"
- content_for :js do
  = javascript_include_tag 'redactor', '//www.google.com/jsapi'
- content_for :stylesheets do
  = stylesheet_link_tag 'redactor'
= render 'shared/header'
= javascript_include_tag "api/application"

.w-section.section-product[class=@project.mode]
#dashboard-titles-root.w-section.dashboard-header.u-text-center data-stats="#{@project.try(:to_analytics_json)}"
  .w-container
    .w-row
      .w-col.w-col-8.w-col-push-2.u-marginbottom-30
        #dashboard-page-title.fontweight-semibold.fontsize-larger.lineheight-looser
        #dashboard-page-subtitle.fontsize-base
.project-dashboard-edit
  = render partial: 'dashboard_nav', locals: {edit_page: true}
  section.min-height-70
    #current_anchor data-anchor="#{params[:anchor]}"
    #default-tab data-anchor='home'
    .w-section
      article
        #dashboard_home.content.w-hidden
          = render 'dashboard_home'
        #dashboard_goal.content.w-hidden  data-page_title="#{t('.goal')}" data-page_subtitle="#{t('.goal_subtitle')}"
          = render 'dashboard_goal'
        #dashboard_video.content.w-hidden  data-page_title=t(".#{@project.mode}.video_html") data-page_subtitle=t(".#{@project.mode}.video_subtitle")
          = render 'dashboard_video'
        #dashboard_budget.content.w-hidden data-page_title=t(".#{@project.mode}.budget_html") data-page_subtitle="#{t('.budget_subtitle')}"
          = render 'dashboard_budget'
        #dashboard_card.content.w-hidden data-page_title="#{t('.card')}" data-page_subtitle="#{t('.card_subtitle')}"
          = render 'dashboard_card'
        #dashboard_description.content.w-hidden data-page_title="#{t('.description')}" data-page_subtitle="#{t('.description_subtitle')}"
          = render 'dashboard_description'
        - if !@project.published? || (current_user && current_user.admin?)
          #dashboard_analysis_success.content.w-hidden data-page_title="" data-page_subtitle=""
            = render 'dashboard_analysis_success'
          #dashboard_basics.content.w-hidden data-page_title="#{t('.basics')}" data-page_subtitle="#{t('.basics_subtitle')}"
            = render 'dashboard_basics'
        - if @project.published?
          #dashboard_posts.content.w-hidden data-page_title="#{t('.posts')}" data-page_subtitle=""
            = render 'dashboard_posts'
        #dashboard_reward.content.w-hidden data-page_title=t(".reward_html") data-page_subtitle=t(".reward_subtitle")
          = render 'dashboard_reward'
        - if @project.published?
          #dashboard_reports.content.w-hidden data-page_title="#{t('.reports')}" data-page_subtitle=""
            = render 'dashboard_reports'
        #dashboard_user_about.content.w-hidden data-page_title="#{t('.user_about')}" data-page_subtitle="#{t('.user_about_subtitle')}"
          = render 'dashboard_user_about'
        - if @project.expires_at.nil? && @project.open_for_contributions?
          #dashboard_announce_expiration.content.w-hidden data-page_title=t('.announce_expiration') data-page_subtitle=t('.announce_expiration_subtitle')
            = render 'dashboard_announce_expiration'
        #dashboard_preview.content.w-hidden data-page_subtitle="" data-page_title=""
          = render 'dashboard_preview'
        #dashboard_user_settings.content.w-hidden data-page_title="#{t('.user_settings')}" data-page_subtitle="#{t('.user_settings_subtitle')}"
          = render 'dashboard_user_settings'

= render 'shared/footer'
{'fraction_non_alphanumeric': 0.1550832051461334, 'fraction_numerical': 0.0016780869808418403, 'mean_word_length': 3.9529085872576175, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7583967', 'n_tokens_mistral': 2272, 'n_tokens_neox': 2344, 'n_words': 263}