<commit_before>{% extends "idea/idea-base.html" %}

{% block "content" %}

        <div id="content" class="idea-home ic" role="main">
            <div class="row">
            <div class="left span9">
            <div class="row">
                <section id="idea-hero" class="idea-hero">
                    <header class="project-header">
                        <div class="row">
                            <div class="logo span5">
                                <a href="{% url 'idea:idea_list' %}"><h2 class="project-title">Idea Box</h2></a>
                            </div>
                            <p class="info">
                                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                                tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                                quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                                consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
                                cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                                proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                            </p>
                        </div><!-- /row -->
                    </header><!-- /project-header -->
                <div class="visuallyhidden">
                    <h2>Main Navigation for Idea Box</h2>
                </div> <!-- /visuallyhidden -->
                    <ul class="section-nav">
                            <li {% if sort_or_state == 'trending' %}class="active"{% endif %}><a href="{% url 'idea:idea_list' "trending" %}">Trending</a></li>
                            <li {% if sort_or_state == 'vote' %}class="active"{% endif %}><a href="{% url 'idea:idea_list' "vote" %}">Likes</a></li>
                            <li {% if sort_or_state == 'recent' %}class="active"{% endif %}><a href="{% url 'idea:idea_list' "recent" %}">Recent</a></li>
                    </ul><!-- /nav -->
                </section><!-- /idea-hero -->
            </div><!-- /row -->
            <div class="row">
                <section id="main" class="main-content">
                {% if ideas %}
                {% for idea in ideas %}
                        <article class="idea-entry">
                        <div class="row">
                            <div class="idea-votes span2">
                                {{idea.vote_count}} <span class="votes">Like{{idea.vote_count|pluralize:",s"}} </span>
                                {% if idea.state.name == 'Archive' %}
                                    <span class="btn-archive">Archived</span>
                                {% elif request.user in idea.voters.all %}
                                    <span class="btn btn-voted">Liked</span>
                                {% else %}
                                    <form action="{% url 'idea:upvote_idea' %}" method=POST>
                                        {% csrf_token %}
                                        <input type="hidden" name="idea_id" value="{{idea.id}}"/>
                                        <input type="hidden" name="next" value="{% url 'idea:idea_list' %}"/><commit_msg>IN-462 - Add challenge text<commit_after>{% extends "idea/idea-base.html" %}

{% block "content" %}

        <div id="content" class="idea-home ic" role="main">
            <div class="row">
            <div class="left span9">
            <div class="row">
                <section id="idea-hero" class="idea-hero">
                    <header class="project-header">
                        <div class="row">
                            <div class="logo span5">
                                <a href="{% url 'idea:idea_list' %}"><h2 class="project-title">Idea Box</h2></a>
                            </div>
                            <p class="info">
                                Idea Box is a place where everyone in the CFPB can share their
                                ideas on how to improve the work we do for consumers and the way
                                we do it. Challenges give you the opportunity to share your
                                solution to a specific problem. Submit your ideas and join the
                                conversation!
                            </p>
                        </div><!-- /row -->
                    </header><!-- /project-header -->
                <div class="visuallyhidden">
                    <h2>Main Navigation for Idea Box</h2>
                </div> <!-- /visuallyhidden -->
                    <ul class="section-nav">
                            <li {% if sort_or_state == 'trending' %}class="active"{% endif %}><a href="{% url 'idea:idea_list' "trending" %}">Trending</a></li>
                            <li {% if sort_or_state == 'vote' %}class="active"{% endif %}><a href="{% url 'idea:idea_list' "vote" %}">Likes</a></li>
                            <li {% if sort_or_state == 'recent' %}class="active"{% endif %}><a href="{% url 'idea:idea_list' "recent" %}">Recent</a></li>
                    </ul><!-- /nav -->
                </section><!-- /idea-hero -->
            </div><!-- /row -->
            <div class="row">
                <section id="main" class="main-content">
                {% if ideas %}
                {% for idea in ideas %}
                        <article class="idea-entry">
                        <div class="row">
                            <div class="idea-votes span2">
                                {{idea.vote_count}} <span class="votes">Like{{idea.vote_count|pluralize:",s"}} </span>
                                {% if idea.state.name == 'Archive' %}
                                    <span class="btn-archive">Archived</span>
                                {% elif request.user in idea.voters.all %}
                                    <span class="btn btn-voted">Liked</span>
                                {% else %}
                                    <form action="{% url 'idea:upvote_idea' %}" method=POST>
                                        {% csrf_token %}
                                        <input type="hidden" name="idea_id" value="{{idea.id}}"/>
                                        <input type="hidden" name="next" value="{% url 'idea:idea_list' %}"/>
{'fraction_non_alphanumeric': 0.14332298136645963, 'fraction_numerical': 0.002639751552795031, 'mean_word_length': 1.1701482479784366, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 30, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4492442', 'n_tokens_mistral': 1750, 'n_tokens_neox': 1586, 'n_words': 414}