<commit_before><div class="panel panel-default">
    <div class="panel-body">
        <div class="row">
            <div class="col-sm-12">
                {{#if result.date_modified}} {{! moment-format will use current time if null}}
                    <span class="pull-right">{{moment-format result.date_modified "MMMM Do YYYY"}}</span>
                {{/if}}
            </div>
        </div>

        <div class="row">
            <div class="col-md-12">
                <h4>
                    {{#if osfID}}
                        {{#link-to "content" osfID}}{{result.title}}{{/link-to}}
                    {{else}}
                        {{#if hyperlink}}
                            <a href='{{hyperlink}}'>{{result.title}}</a>
                        {{else}}
                            <span>{{result.title}}</span>
                        {{/if}}
                    {{/if}}
                </h4>
            </div>
        </div>

        <div class="row">
            <div class="col-sm-12">
                {{#each result.contributors as |contributor index|}}
                    {{#if index}}
                        |
                    {{/if}}
                    {{#if result.osfProvider}}
                        <a href={{contributor.users.id}}>
                            {{contributor.users.familyName}}{{if contributor.users.familyName ', '}}{{contributor.users.givenName}}
                        </a>
                    {{else}}
                        {{contributor.users.familyName}}{{if contributor.users.familyName ', '}}{{contributor.users.givenName}}
                    {{/if}}
                {{/each}}
            </div>
        </div>

        <div class="row">
            <div class="col-sm-8">
                {{#each result.subjects as |subject  index|}}
                    {{if index '| '}}{{subject.text}}
                {{/each}}
            </div>
            <div class="col-sm-4">
                {{#each result.providers as |provider index|}}
                    {{if index '| '}}{{provider.name}}
                {{/each}}
            </div>
        </div>
        <br>
        {{#if showBody}}
            {{result.abstract}}
            <div class="row">
                <div class="col-sm-12">
                    {{#each result.tags as |tag|}}
                        <span class="badge">{{tag}}</span>
                    {{/each}}
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12 text-muted">
                    Released on: {{moment-format result.date_created}}
                </div>
            </div>
        {{/if}}
        <div class="text-center" {{action "toggleShowBody"}}>
            <a href=''>{{fa-icon footerIcon size=1}}</a>
        </div>
    </div>
</div>
<commit_msg>Update search-result.hbs<commit_after><div class="panel panel-default">
    <div class="panel-body">
        <div class="row">
            <div class="col-sm-12">
                {{#if result.date_modified}} {{! moment-format will use current time if null}}
                    <span class="pull-right">{{moment-format result.date_modified "MMMM YYYY"}}</span>
                {{/if}}
            </div>
        </div>

        <div class="row">
            <div class="col-md-12">
                <h4>
                    {{#if osfID}}
                        {{#link-to "content" osfID}}{{result.title}}{{/link-to}}
                    {{else}}
                        {{#if hyperlink}}
                            <a href='{{hyperlink}}'>{{result.title}}</a>
                        {{else}}
                            <span>{{result.title}}</span>
                        {{/if}}
                    {{/if}}
                </h4>
            </div>
        </div>

        <div class="row">
            <div class="col-sm-12">
                {{#each result.contributors as |contributor index|}}
                    {{#if index}}
                        |
                    {{/if}}
                    {{#if result.osfProvider}}
                        <a href={{contributor.users.id}}>
                            {{contributor.users.familyName}}{{if contributor.users.familyName ', '}}{{contributor.users.givenName}}
                        </a>
                    {{else}}
                        {{contributor.users.familyName}}{{if contributor.users.familyName ', '}}{{contributor.users.givenName}}
                    {{/if}}
                {{/each}}
            </div>
        </div>

        <div class="row">
            <div class="col-sm-8">
                {{#each result.subjects as |subject  index|}}
                    {{if index '| '}}{{subject.text}}
                {{/each}}
            </div>
            <div class="col-sm-4">
                {{#each result.providers as |provider index|}}
                    {{if index '| '}}{{provider.name}}
                {{/each}}
            </div>
        </div>
        <br>
        {{#if showBody}}
            {{result.abstract}}
            <div class="row">
                <div class="col-sm-12">
                    {{#each result.tags as |tag|}}
                        <span class="badge">{{tag}}</span>
                    {{/each}}
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12 text-muted">
                    Released on: {{moment-format result.date_created}}
                </div>
            </div>
        {{/if}}
        <div class="text-center" {{action "toggleShowBody"}}>
            <a href=''>{{fa-icon footerIcon size=1}}</a>
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.16867897727272727, 'fraction_numerical': 0.005326704545454545, 'mean_word_length': 1.085523880044428, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '4614974', 'n_tokens_mistral': 1594, 'n_tokens_neox': 1475, 'n_words': 288}