<commit_before><div class="container">
    <div class="row">
        <div class="col-sm-4">
            <h1>Homework:</h1>
        </div>
        <div class="col-md-4 pad-10t col-md-offset-4 col-sm-6 col-sm-offset-2">
            <form id="homework" ng-submit="new(homework)">
                <div class="panel panel-default">
                    <div class="panel-heading input-group">
                        <input type="text" class="form-control" ng-model="homework.input" ng-change="input(homework)" placeholder="New Homework..." id="homework_input">
                        <span class="input-group-btn">
                            <input type="submit" value="Create" class="btn btn-default">
                            <button ng-show="homework.input" type="button" ng-click="showShare = !showShare" class="btn btn-info">
                                <i class="fa fa-share-square-o"></i>
                            </button>
                        </span>
                        <div ng-show="showShare">
                            <div class="popover bottom" id="share-popover">
                                <div class="arrow"></div>
                                <h3>Share:</h3>
                                <div ng-show="student.pro">
                                    <p class="lead">Share homework with your friends!</p>
                                    <div ng-repeat="friend in student.friends" class="back-action" ng-click="share(homework,friend)">
                                        <hr>
                                        <div>
                                            <img class="pull-left pad-25r" ng-src="{{friend.avatar(50)}}">
                                            <div class="pull-right" ng-show="friend.sent_homework">
                                                <i class="fa fa-check fa-3x"></i>
                                            </div>
                                            <p class="bold bigger"> {{friend.name}}</p>
                                            <p>({{friend.username}})</p>
                                        </div>
                                    </div>
                                </div>
                                <div ng-hide="student.pro">
                                    <p class="col-md-10 col-md-offset-1">Hey {{student.name}}! It looks like you might want to share this assisment with your friends on PlanHW. Although sharing assignments is a pro-only feature, you can get it <a href="#/settings">here</a> for only $3 a month.</p>
                                </div>
                            </div>
                        </div>
                        <div ng-show="suggestShareFriend">
                            <div class="popover left" id="share-suggest-popover">
                                <div class="arrow"></div>
                                <h3>Share:</h3>
                                <div ng-show="student.pro">
                                    <p class="lead">Want to share this with...</p>
                                    <hr>
                                    <div class="action" ng-click="share(homework,suggestShareFriend)">
                                        <img class="pull-left pad-25r" ng-src="{{suggestShareFriend.avatar(50)}}">
                                        <p class="bold bigger"> {{suggestShareFriend.name}}</p>
                                        <p>({{suggestShareFriend.username}})</p>
                                    </div>
                                </div>
                                <div ng-hide="student.pro">
                                    <p class="col-md-10 col-md-offset-1">Hey {{student.name}}! It looks like you might want to share this assisment with your friends on PlanHW. Although sharing assignments is a pro-only feature, you can get it <a href="#/settings">here</a> for only $3 a month.</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="panel-body" ng-show="homework.input" id="hwpreview">
                        <h3 id="homework_title">{{homework.title}}</h3>
                        <p ng-bind-html="homework.descHTML"></p>
                        <div class="col-xs-12">
                            <div class="dropdown" id="homework_due">
                                <a class="dropdown-toggle my-toggle-select" id="dLabel" role="button" data-toggle="dropdown" data-target="#">
                                    <div class="input-group">
                                        <input type="text" class="form-control action" data-ng-model="homework.dueDate">
                                        <span class="input-group-addon"><i class="fa fa-calendar fa-fw"></i></span>
                                    </div>
                                </a>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                    <datetimepicker data-ng-model="homework.due_date" data-datetimepicker-config="{ dropdownSelector: '.my-toggle-select' }"></datetimepicker>
                                </ul>
                            </div>
                        </div>
                        <label>Description</label>
                        <textarea class="form-control" ng-model="homework.description" ng-change="homework.updateDescription()"/>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <div>
        <div>
            <div class="col-md-2 col-sm-3 col-offset-1 col-xs-12">
                <div class="hidden-xs">
                    <button type="button" class="btn btn-default col-xs-12" ng-click="reload()">
                        <i class="fa fa-refresh"></i> Refresh
                    </button>
                    <ul class="nav nav-pills nav-stacked text-center">
                        <hr>
                        <li role="presentation"><p class="bold">Show:</p></li>
                        <li class="action" ng-class="{active: (showIncomplete && showComplete)}" role="presentation">
                            <a ng-click="show('all')" role="menuitem" tabindex="-1">All</a>
                        </li>
                        <li class="action" ng-class="{active: (showIncomplete && !showComplete)}" role="presentation">
                            <a ng-click="show('incomplete')" role="menuitem" tabindex="-1">Incomplete</a>
                        </li>
                        <li class="action" ng-class="{active: (!showIncomplete && showComplete)}" role="presentation">
                            <a ng-click="show('complete')" role="menuitem" tabindex="-1">Complete</a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-sm-8 col-md-offset-1">
                <div ng-repeat="homework in student.homework" ng-show="(showComplete && homework.completed) || (showIncomplete && !homework.completed)" ng-class="{'complete': homework.completed}"><commit_msg>Fixes mobile weirdness<commit_after><div class="container">
    <div class="row">
        <div class="col-sm-4">
            <h1>Homework:</h1>
        </div>
        <div class="col-md-4 pad-10t col-md-offset-4 col-sm-6 col-sm-offset-2">
            <form id="homework" ng-submit="new(homework)">
                <div class="panel panel-default">
                    <div class="panel-heading input-group">
                        <input type="text" class="form-control" ng-model="homework.input" ng-change="input(homework)" placeholder="New Homework..." id="homework_input">
                        <span class="input-group-btn">
                            <input type="submit" value="Create" class="btn btn-default">
                            <button ng-show="homework.input" type="button" ng-click="showShare = !showShare" class="btn btn-info">
                                <i class="fa fa-share-square-o"></i>
                            </button>
                        </span>
                        <div ng-show="showShare">
                            <div class="popover bottom" id="share-popover">
                                <div class="arrow"></div>
                                <h3>Share:</h3>
                                <div ng-show="student.pro">
                                    <p class="lead">Share homework with your friends!</p>
                                    <div ng-repeat="friend in student.friends" class="back-action" ng-click="share(homework,friend)">
                                        <hr>
                                        <div>
                                            <img class="pull-left pad-25r" ng-src="{{friend.avatar(50)}}">
                                            <div class="pull-right" ng-show="friend.sent_homework">
                                                <i class="fa fa-check fa-3x"></i>
                                            </div>
                                            <p class="bold bigger"> {{friend.name}}</p>
                                            <p>({{friend.username}})</p>
                                        </div>
                                    </div>
                                </div>
                                <div ng-hide="student.pro">
                                    <p class="col-md-10 col-md-offset-1">Hey {{student.name}}! It looks like you might want to share this assisment with your friends on PlanHW. Although sharing assignments is a pro-only feature, you can get it <a href="#/settings">here</a> for only $3 a month.</p>
                                </div>
                            </div>
                        </div>
                        <div ng-show="suggestShareFriend">
                            <div class="popover left" id="share-suggest-popover">
                                <div class="arrow"></div>
                                <h3>Share:</h3>
                                <div ng-show="student.pro">
                                    <p class="lead">Want to share this with...</p>
                                    <hr>
                                    <div class="action" ng-click="share(homework,suggestShareFriend)">
                                        <img class="pull-left pad-25r" ng-src="{{suggestShareFriend.avatar(50)}}">
                                        <p class="bold bigger"> {{suggestShareFriend.name}}</p>
                                        <p>({{suggestShareFriend.username}})</p>
                                    </div>
                                </div>
                                <div ng-hide="student.pro">
                                    <p class="col-md-10 col-md-offset-1">Hey {{student.name}}! It looks like you might want to share this assisment with your friends on PlanHW. Although sharing assignments is a pro-only feature, you can get it <a href="#/settings">here</a> for only $3 a month.</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="panel-body" ng-show="homework.input" id="hwpreview">
                        <h3 id="homework_title">{{homework.title}}</h3>
                        <p ng-bind-html="homework.descHTML"></p>
                        <div class="col-xs-12">
                            <div class="dropdown" id="homework_due">
                                <a class="dropdown-toggle my-toggle-select" id="dLabel" role="button" data-toggle="dropdown" data-target="#">
                                    <div class="input-group">
                                        <input type="text" class="form-control action" data-ng-model="homework.dueDate">
                                        <span class="input-group-addon"><i class="fa fa-calendar fa-fw"></i></span>
                                    </div>
                                </a>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                    <datetimepicker data-ng-model="homework.due_date" data-datetimepicker-config="{ dropdownSelector: '.my-toggle-select' }"></datetimepicker>
                                </ul>
                            </div>
                        </div>
                        <label>Description</label>
                        <textarea class="form-control" ng-model="homework.description" ng-change="homework.updateDescription()"/>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <div>
        <div>
            <div class="col-md-2 col-sm-3 col-offset-1 col-xs-12">
                <div class="hidden-xs">
                    <button type="button" class="btn btn-default col-xs-12" ng-click="reload()">
                        <i class="fa fa-refresh"></i> Refresh
                    </button>
                    <ul class="nav nav-pills nav-stacked text-center">
                        <hr>
                        <li role="presentation"><p class="bold">Show:</p></li>
                        <li class="action" ng-class="{active: (showIncomplete && showComplete)}" role="presentation">
                            <a ng-click="show('all')" role="menuitem" tabindex="-1">All</a>
                        </li>
                        <li class="action" ng-class="{active: (showIncomplete && !showComplete)}" role="presentation">
                            <a ng-click="show('incomplete')" role="menuitem" tabindex="-1">Incomplete</a>
                        </li>
                        <li class="action" ng-class="{active: (!showIncomplete && showComplete)}" role="presentation">
                            <a ng-click="show('complete')" role="menuitem" tabindex="-1">Complete</a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-sm-8 col-md-offset-1 col-xs-12">
                <div ng-repeat="homework in student.homework" ng-show="(showComplete && homework.completed) || (showIncomplete && !homework.completed)" ng-class="{'complete': homework.completed}">
{'fraction_non_alphanumeric': 0.13680463460598868, 'fraction_numerical': 0.006561038598450478, 'mean_word_length': 1.1201538916839302, 'pattern_counts': {'":': 0, '<': 279, '<?xml version=': 0, '>': 279, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 80, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '724974', 'n_tokens_mistral': 3546, 'n_tokens_neox': 3336, 'n_words': 696}