<commit_before>%div
  #intro.section
    .header
      %h2== Have an idea for #{COMPANY_NAME}?
      %p
        We're constantly looking for new ways to improve our business and are asking you to help us by
        %strong sharing
        your own ideas,
        %strong voting
        for ideas you like, and
        %strong discussing
        them with the rest of the community.
      - if user_signed_in?
        %h3
          %em Share Your Ideas Now
      - else
        %h3
          = link_to "Sign Up", new_user_registration_path
          %em to Get Started Now
    .body#submit-idea
      = render :partial => 'ideas/new', :locals => { :small => true }
  %hr.hide
  #instructions.section
    %h2.header
      This is how it works.
      %em
        Really, it's this easy.
    .instruction.one
      %h3
        %em Share
        Your Ideas
      .figure
        = image_tag "instruction-1-share-thumb.png", :alt => "Share Your Ideas"
        %p.legend What's your idea? Big or small. We want to hear it. The future starts here.
    .instruction.two
      %h3
        %em Vote
        for Good Ideas
      .figure
        = image_tag "instruction-2-vote-thumb.png", :alt => "Vote for Good Ideas"
        %p.legend Like an idea? Vote it up. Tell your friends to vote it up. Let's hear it.
    .instruction.three
      %h3
        %em Discuss
        with Others
      .figure
        = image_tag "instruction-3-discuss-thumb.png", :alt => "Discuss with Others"
        %p.legend Post your comments and build on an idea. Connect with us directly. Let's make something happen.
    .instruction.four
      %h3
        %em Read
        our Feedback
      .figure
        = image_tag "instruction-4-read-thumb.png", :alt => "Read our Feedback"
        %p.legend
          We're posting in the comments and on
          == #{link_to 'our blog', '#'}.
          Let's keep the conversation going."
    %hr.hide

    #ideas.section
      %h2.header
        Here are some ideas.
        %em
          This should get you started.
      .ideas-group
        #popular-ideas.panel.summary.hfeed
          .header
            %h3.icon.popular
              Popular
            %ul.actions
          .body.ideas
            = render :partial => 'home/idea', :collection => popular_ideas(5), :as => :idea
          .footer
            .pagination
              = link_to 'More', search_ideas_path(:search => 'popular')
      .ideas-group
        #recent-ideas.panel.summary.hfeed
          .header
            %h3.icon.recent
              New
            / %ul.actions
            /   %li= link_to image_tag("icn/16-sq-rss.png", :alt => "Subscribe to these ideas"), "/ideas.rss"
          .body.ideas
            = render :partial => 'home/idea', :collection => recent_ideas(5), :as => :idea
          .footer
            .pagination
              = link_to 'More', search_ideas_path(:search => 'new')
      / .ideas-group
      /   #recent-ideas.panel.summary.hfeed
      /     .header
      /       %h3.icon.recent
      /         Coming Soon
      /       / %ul.actions
      /       /   %li= link_to image_tag("icn/16-sq-rss.png", :alt => "Subscribe to these ideas"), "/ideas.rss"
      /     .body.ideas
      /       = render :partial => 'home/idea', :collection => accepted_ideas(5), :as => :idea
      /     .footer
      /       .pagination
      /         = link_to 'More', search_ideas_path(:search => 'new')<commit_msg>Fix search_text param passing in home view<commit_after>%div
  #intro.section
    .header
      %h2== Have an idea for #{COMPANY_NAME}?
      %p
        We're constantly looking for new ways to improve our business and are asking you to help us by
        %strong sharing
        your own ideas,
        %strong voting
        for ideas you like, and
        %strong discussing
        them with the rest of the community.
      - if user_signed_in?
        %h3
          %em Share Your Ideas Now
      - else
        %h3
          = link_to "Sign Up", new_user_registration_path
          %em to Get Started Now
    .body#submit-idea
      = render :partial => 'ideas/new', :locals => { :small => true }
  %hr.hide
  #instructions.section
    %h2.header
      This is how it works.
      %em
        Really, it's this easy.
    .instruction.one
      %h3
        %em Share
        Your Ideas
      .figure
        = image_tag "instruction-1-share-thumb.png", :alt => "Share Your Ideas"
        %p.legend What's your idea? Big or small. We want to hear it. The future starts here.
    .instruction.two
      %h3
        %em Vote
        for Good Ideas
      .figure
        = image_tag "instruction-2-vote-thumb.png", :alt => "Vote for Good Ideas"
        %p.legend Like an idea? Vote it up. Tell your friends to vote it up. Let's hear it.
    .instruction.three
      %h3
        %em Discuss
        with Others
      .figure
        = image_tag "instruction-3-discuss-thumb.png", :alt => "Discuss with Others"
        %p.legend Post your comments and build on an idea. Connect with us directly. Let's make something happen.
    .instruction.four
      %h3
        %em Read
        our Feedback
      .figure
        = image_tag "instruction-4-read-thumb.png", :alt => "Read our Feedback"
        %p.legend
          We're posting in the comments and on
          == #{link_to 'our blog', '#'}.
          Let's keep the conversation going."
    %hr.hide

    #ideas.section
      %h2.header
        Here are some ideas.
        %em
          This should get you started.
      .ideas-group
        #popular-ideas.panel.summary.hfeed
          .header
            %h3.icon.popular
              Popular
            %ul.actions
          .body.ideas
            = render :partial => 'home/idea', :collection => popular_ideas(5), :as => :idea
          .footer
            .pagination
              = link_to 'More', search_ideas_path(search_text: 'popular')
      .ideas-group
        #recent-ideas.panel.summary.hfeed
          .header
            %h3.icon.recent
              New
            / %ul.actions
            /   %li= link_to image_tag("icn/16-sq-rss.png", :alt => "Subscribe to these ideas"), "/ideas.rss"
          .body.ideas
            = render :partial => 'home/idea', :collection => recent_ideas(5), :as => :idea
          .footer
            .pagination
              = link_to 'More', search_ideas_path(search_text: 'new')
      / .ideas-group
      /   #recent-ideas.panel.summary.hfeed
      /     .header
      /       %h3.icon.recent
      /         Coming Soon
      /       / %ul.actions
      /       /   %li= link_to image_tag("icn/16-sq-rss.png", :alt => "Subscribe to these ideas"), "/ideas.rss"
      /     .body.ideas
      /       = render :partial => 'home/idea', :collection => accepted_ideas(5), :as => :idea
      /     .footer
      /       .pagination
      /         = link_to 'More', search_ideas_path(search_text: 'coming soon')
{'fraction_non_alphanumeric': 0.10874293170943888, 'fraction_numerical': 0.006669566478178918, 'mean_word_length': 1.6298131910026687, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 42, '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': '1052908', 'n_tokens_mistral': 2138, 'n_tokens_neox': 2051, 'n_words': 606}