<commit_before>legend References
    text(ng-if="!current_user.isExternalReviewer() && !current_user.isSupervisor()")  (required):
div.bottom-padding-med(
    ng-if="(current_user._id===assessment.edit_control && !(['resubmitted', 'submitted'].indexOf(assessment.status) > -1)) || current_user.isExternalReviewer()"
    id="biblio_div")
    .row
        .col-md-5.pull-left.top-padding-med
            select.form-group.form-control.pull-left(
            ng-model="selected.value"
            ng-change="selectRefDialog(selected.value)"
            ng-disabled="(assessment.edit_control!==current_user._id && !current_user.isExternalReviewer()) || assessment.status === 'submitted' || assessment.status === 'trial_submitted'")
                option(
                value="none"
                selected
                disabled) Select action
                option(
                ng-repeat="ref in ref_type"
                value="{{ref.value}}") {{ref.text}}

//- BILBLIO LIST
div(id="prev_bib" ng-if="references.length > 0")
    .row.left-padding-lg.right-padding-lg
        h4 Citations
        .row.left-padding-lg.bottom-padding-med(
        ng-repeat="ref in references"
        ng-if="!ref.hidden")
            .row {{ref}}
            .row
                b Type:
                u: em(ng-if="ref.citation_type === 'document'")  {{ref.document_ID.type | addSpaces | ucfirst}}
                u: em(ng-if="ref.citation_type === 'interview'")  {{ref.citation_type | ucfirst}}
            .row(ng-if="ref.document_ID.type !== 'web_page' && ref.citation_type !== 'interview'")
                b Title:
                |  {{ref.document_ID.title}} (
                a(href="{{ref.document_ID.s3_url}}" target="_blank") View here
                | )
            .row(ng-if="ref.document_ID.type === 'web_page' && ref.citation_type !== 'interview'")
                b Title:
                a(href="{{ref.document_ID.source}}" target="_blank")  {{ref.document_ID.title}}
            .row(ng-if="ref.citation_type === 'interview' && (current_user.isSupervisor() || ref.author._id===current_user._id)")
                b Contact:<commit_msg>SAVEPOINT<commit_after>legend References
    text(ng-if="!current_user.isExternalReviewer() && !current_user.isSupervisor()")  (required):
div.bottom-padding-med(
    ng-if="(current_user._id===assessment.edit_control && !(['resubmitted', 'submitted'].indexOf(assessment.status) > -1)) || current_user.isExternalReviewer()"
    id="biblio_div")
    .row
        .col-md-5.pull-left.top-padding-med
            select.form-group.form-control.pull-left(
            ng-model="selected.value"
            ng-change="selectRefDialog(selected.value)"
            ng-disabled="(assessment.edit_control!==current_user._id && !current_user.isExternalReviewer()) || assessment.status === 'submitted' || assessment.status === 'trial_submitted'")
                option(
                value="none"
                selected
                disabled) Select action
                option(
                ng-repeat="ref in ref_type"
                value="{{ref.value}}") {{ref.text}}

//- BILBLIO LIST
div(id="prev_bib" ng-if="references.length > 0")
    .row.left-padding-lg.right-padding-lg
        h4 Citations
        .row.left-padding-lg.bottom-padding-med(
        ng-repeat="ref in references"
        ng-if="!ref.hidden")
            .row
                b Type:
                u: em(ng-if="ref.citation_type === 'document'")  {{ref.document_ID.type | addSpaces | ucfirst}}
                u: em(ng-if="ref.citation_type === 'interview'")  {{ref.citation_type | ucfirst}}
            .row(ng-if="ref.document_ID.type !== 'web_page' && ref.citation_type !== 'interview'")
                b Title:
                |  {{ref.document_ID.title}} (
                a(href="{{ref.document_ID.s3_url}}" target="_blank") View here
                | )
            .row(ng-if="ref.document_ID.type === 'web_page' && ref.citation_type !== 'interview'")
                b Title:
                a(href="{{ref.document_ID.source}}" target="_blank")  {{ref.document_ID.title}}
            .row(ng-if="ref.citation_type === 'interview' && (current_user.isSupervisor() || ref.author._id===current_user._id)")
                b Contact:
{'fraction_non_alphanumeric': 0.16584564860426929, 'fraction_numerical': 0.002345765892563922, 'mean_word_length': 2.2599388379204894, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4259131', 'n_tokens_mistral': 1354, 'n_tokens_neox': 1283, 'n_words': 177}