<commit_before><div desktop-panel>
    <div class='ru-desktop-panel-content'>
        <h1 class="h1-concept-index">Concepts</h1>
    </div>
</div>
<div mobile-panel>
    <div class='row'>
        <div class='small-16 columns'>
            <h5>Search:</h5>
        </div>
    </div>
</div>

<div class="row">
    <div class='large-16 medium-16 columns'>

        <section class='ru-concept-search'>
            <div class='row'>
                <div class='medium-2 small-0 columns hide-for-small-only'>
                    <h3>Search:</h3>
                </div>
                <div class='clearfix show-for-small-only'></div>
                <div class='medium-13 small-13 columns'>
                    <input type='text' id='concept-search'>
                    <div class="ru-search-list hide-for-small-only">
                    </div>
                </div>
                <div class='medium-1 small-3 columns end'>
                    <button id='desktop-button' class='hide-for-small-only'>GO</button>
                    <div id='mobile-button' class='hide-for-medium-up'>
                        <img src='/assets/mobile-search.png'>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </section>

        <!-- Results -->
        <section>
            <div class='row ru-mobile-searchbar-wrap'>
                <div class='small-16 columns'>
                    <div class="ru-search-result-bar">
                        <h4 class="left">Search Results</h4>
                        <div class="right">
                            <span class='hide-for-small-only'>Filter</span>
                            <input type="checkbox" id="includePhysics" ng-model="includePhysics"><label for="includePhysics">Physics</label>
                            <input type="checkbox" id="includeMaths" ng-model="includeMaths"><label for="includeMaths">Maths</label>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
            <div class="ru-concept-results">
                <div ng-repeat="concept in allConcepts" class='row ru-mobile-answer-wrap' ng-init="maths = concept.tags.indexOf('maths') > -1; physics = concept.tags.indexOf('physics') > -1;" ng-class="{maths: maths && !physics, physics: physics && !maths, both: physics && maths}" ui-sref="concept({id: concept.id})" ng-show="includePhysics && physics || includeMaths && maths">
                    <div class='small-16 columns'>
                        <div class="ru-search-result">
                            <div class="ru-search-result-content">
                                <img class="right show-for-small-only" src="/assets/isaac-index-arrow.png">
                                <h4>
                                    <span class="maths" ng-show="maths">Maths</span>
                                    <span ng-show="maths && physics">&amp;</span>
                                    <span class="physics" ng-show="physics">Physics</span>
                                    : {{concept.title}}</h4>

                                    <p>Every body continues in its state of being at rest or in uniform motion unless acted upon by a resultant force.</p>
                                </h4>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ru-concept-pad">

            </div>
            <div class="ru-concept-result-controls">
                <div class="row">
                    <div class='small-16 columns show-for-small-only'>
                        <button id="load-more">Load more</button>
                    </div>
                </div>
                <div class="ru-concept-result-bullets hide-for-small-only text-center">

                </div>
            </div><commit_msg>Implement concept index search.<commit_after><div desktop-panel>
    <div class='ru-desktop-panel-content'>
        <h1 class="h1-concept-index">Concepts</h1>
    </div>
</div>
<div mobile-panel>
    <div class='row'>
        <div class='small-16 columns'>
            <h5>Search:</h5>
        </div>
    </div>
</div>

<div class="row">
    <div class='large-16 medium-16 columns'>

        <section class='ru-concept-search'>
            <div class='row'>
                <div class='medium-2 small-0 columns hide-for-small-only'>
                    <h3>Search:</h3>
                </div>
                <div class='clearfix show-for-small-only'></div>
                <div class='medium-14 small-13 columns'>
                    <input type='text' ng-model="searchText">
                    <div class="ru-search-list hide-for-small-only">
                    </div>
                </div>

                <div class='medium-1 small-3 columns end'>
                    <!--<button id='desktop-button' class='hide-for-small-only'>GO</button>-->
                    <div id='mobile-button' class='hide-for-medium-up'>
                        <img src='/assets/mobile-search.png'>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </section>

        <!-- Results -->
        <section>
            <div class='row ru-mobile-searchbar-wrap'>
                <div class='small-16 columns'>
                    <div class="ru-search-result-bar">
                        <h4 class="left">Search Results</h4>
                        <div class="right">
                            <span class='hide-for-small-only'>Filter</span>
                            <input type="checkbox" id="includePhysics" ng-model="includePhysics"><label for="includePhysics">Physics</label>
                            <input type="checkbox" id="includeMaths" ng-model="includeMaths"><label for="includeMaths">Maths</label>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
            <div class="ru-concept-results">
                <div ng-repeat="concept in allConcepts | filter:{$:searchText}" class='row ru-mobile-answer-wrap' ng-init="maths = concept.tags.indexOf('maths') > -1; physics = concept.tags.indexOf('physics') > -1;" ng-class="{maths: maths && !physics, physics: physics && !maths, both: physics && maths}" ui-sref="concept({id: concept.id})" ng-show="includePhysics && physics || includeMaths && maths">
                    <div class='small-16 columns'>
                        <div class="ru-search-result">
                            <div class="ru-search-result-content">
                                <img class="right show-for-small-only" src="/assets/isaac-index-arrow.png">
                                <h4>
                                    <span class="maths" ng-show="maths">Maths</span>
                                    <span ng-show="maths && physics">&amp;</span>
                                    <span class="physics" ng-show="physics">Physics</span>
                                    : {{concept.title}}</h4>

                                    <p>Every body continues in its state of being at rest or in uniform motion unless acted upon by a resultant force.</p>
                                </h4>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ru-concept-pad">

            </div>
            <div class="ru-concept-result-controls">
                <div class="row">
                    <div class='small-16 columns show-for-small-only'>
                        <button id="load-more">Load more</button>
                    </div>
                </div>
                <div class="ru-concept-result-bullets hide-for-small-only text-center">

                </div>
            </div>
{'fraction_non_alphanumeric': 0.14710252600297177, 'fraction_numerical': 0.008420009905894007, 'mean_word_length': 1.3130011454753723, 'pattern_counts': {'":': 0, '<': 200, '<?xml version=': 0, '>': 204, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2541601', 'n_tokens_mistral': 2229, 'n_tokens_neox': 2083, 'n_words': 413}