<commit_before>div.modal-body
    form.form-horizontal(role='form')
        div.form-group(data-ng-if='filterObject.hasOwnProperty("name")')
            label.col-sm-2.control-label Name
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.name')
        div.form-group(data-ng-if='filterObject.hasOwnProperty("title")')
            label.col-sm-2.control-label Title
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.title')
        div.form-group(data-ng-if='filterObject.hasOwnProperty("authorName")')
            label.col-sm-2.control-label Author
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.authorName')
        div.form-group(data-ng-if='filterObject.hasOwnProperty("status")')
            label.col-sm-2.control-label Status
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.status', data-typeahead='status | inflector:"humanize" for status in statuses | filter: $viewValue')
        div.form-group(data-ng-if='filterObject.hasOwnProperty("published")')
            label.col-sm-2.control-label Published
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.published')
        div.form-group(data-ng-if='customFilterObject.hasOwnProperty("rating")')
            label.col-sm-2.control-label Rating
            div.col-sm-10.filter-rating
                rating(value='customFilterObject.rating')
                span.badge {{customFilterObject.rating}}
div.modal-footer
    button.btn.btn-warning(data-ng-click='clear()') Clear
    button.btn.btn-default(data-ng-click='close()') Close<commit_msg>Filtering help text.<commit_after>div.modal-body
    form.form-horizontal(role='form')
        div.form-group(data-ng-if='filterObject.hasOwnProperty("name")')
            label.col-sm-2.control-label Name
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.name')
                span.help-block Filter based on the name of the author.
        div.form-group(data-ng-if='filterObject.hasOwnProperty("title")')
            label.col-sm-2.control-label Title
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.title')
                span.help-block Filter based on the title of the book.
        div.form-group(data-ng-if='filterObject.hasOwnProperty("authorName")')
            label.col-sm-2.control-label Author
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.authorName')
                span.help-block Filter based on the author of the book.
        div.form-group(data-ng-if='filterObject.hasOwnProperty("status")')
            label.col-sm-2.control-label Status
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.status', data-typeahead='status | inflector:"humanize" for status in statuses | filter: $viewValue')
                span.help-block Filter on the status.
        div.form-group(data-ng-if='filterObject.hasOwnProperty("published")')
            label.col-sm-2.control-label Published
            div.col-sm-10
                input.form-control(type='text', data-ng-model='filterObject.published')
                span.help-block Filter on when the book was published (ISO8601 e.g., 2011-06-02T09:34:29+02:00). Example: 2011 or 2011-06 or 06-02.
        div.form-group(data-ng-if='customFilterObject.hasOwnProperty("rating")')
            label.col-sm-2.control-label Rating
            div.col-sm-10.filter-rating
                rating(value='customFilterObject.rating')
                span.badge {{customFilterObject.rating}}
                span.help-block Filter on the rating of the book (average rating rounded down). e.g., 3 stars will show >=3 and < 4
div.modal-footer
    button.btn.btn-warning(data-ng-click='clear()') Clear
    button.btn.btn-default(data-ng-click='close()') Close
{'fraction_non_alphanumeric': 0.1404109589041096, 'fraction_numerical': 0.01834637964774951, 'mean_word_length': 2.4506329113924052, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6605615', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1198, 'n_words': 174}