<commit_before>.container
    .page-header
        h1
            span(ng-bind-html="contract.rc_info.contract_name|sanitize")
            =' '
            small Contract
    .row
        .col-md-12
            leaflet(center="center",controls="controls",markers="contract.location",tiles="tiles",height='240px')
    .row
        .col-md-6
            .info-box
                h2 Contract Info
                table#contract-info
                    tbody
                        tr
                            td.detail_label.small Resource Contracts ID:
                            td.contract_id {{contract.contract_id}}
                        tr
                            td.detail_label.small Commodities:
                            td.commodities
                                text(ng-repeat="commodity in contract.commodity | unique: '_id'")
                                    nrgi-commodity-route(id='commodity._id' commodity='commodity.commodity_id' name='commodity.commodity_name' )
                                    | {{$last ? '' : ', '}}
                        tr
                            td.detail_label.small Concessions:
                            td.concessions: text(ng-repeat="concession in contract.concessions | unique: '_id'")
                                a(href='concession/{{concession._id}}')
                                    span(ng-bind-html="concession.concession_name|sanitize")
                                | {{$last ? '' : ', '}}
        .col-md-6
            nrgi-company-table(
            companies="contract.companies"
            stake='true'
            group='true')
    .row
        .col-md-12
            nrgi-project-table(
            projects="contract.projects"
            country="true"
            commodity="true"
            status="true"
            type="true"
            companies="false")
    .row
        .col-md-12
            nrgi-production-table(production="contract.production")
    .row
        .col-md-12
            nrgi-transfer-table(transfers="contract.transfers")

    .row
        .col-md-12
            nrgi-sources-table(sources="contract.sources")<commit_msg>SAVEPOINT<commit_after>.container
    .page-header
        h1
            span(ng-bind-html="contract.rc_info.contract_name|sanitize")
            =' '
            small Contract
    .row
        .col-md-6
            leaflet(
            center="center"
            controls="controls"
            markers="contract.location"
            tiles="tiles"
            height='240px')

        .col-md-6
            .info-box
                h2 Contract Info
                table#contract-info
                    tbody
                        tr
                            td.detail_label.small Resource Contracts ID:
                            td.contract_id {{contract.contract_id}}
                        tr
                            td.detail_label.small Commodities:
                            td.commodities
                                text(ng-repeat="commodity in contract.commodity | unique: '_id'")
                                    nrgi-commodity-route(id='commodity._id' commodity='commodity.commodity_id' name='commodity.commodity_name' )
                                    | {{$last ? '' : ', '}}
                        tr
                            td.detail_label.small Concessions:
                            td.concessions: text(ng-repeat="concession in contract.concessions | unique: '_id'")
                                a(href='concession/{{concession._id}}')
                                    span(ng-bind-html="concession.concession_name|sanitize")
                                | {{$last ? '' : ', '}}
    .row.top-padding-med
        .col-md-12
            nrgi-company-table(
            companies="contract.companies"
            stake='true'
            group='true')
    .row.top-padding-med
        .col-md-6
            nrgi-project-table(
            projects="contract.projects"
            country="true"
            commodity="true"
            status="true"
            type="true"
            companies="false")
        .col-md-6
            nrgi-site-table(
            sites="contract.sites"
            country="true"
            commodity="true"
            status="true"
            type="true")
    .row.top-padding-med
        .col-md-12
            nrgi-production-table(production="contract.production")
    .row.top-padding-med
        .col-md-12
            nrgi-transfer-table(transfers="contract.transfers")

    .row.top-padding-med
        .col-md-12
            nrgi-sources-table(sources="contract.sources")
{'fraction_non_alphanumeric': 0.10876132930513595, 'fraction_numerical': 0.0073370738023306, 'mean_word_length': 1.1669004207573632, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5095739', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1199, 'n_words': 155}