<commit_before>h2 Companies
table.table.table-striped.companies(ts-wrapper)#company-info
    thead
        tr
            th.tablesort-sortable-th(ts-criteria='company_name') Name
            th.tablesort-sortable-th(ng-if="group==true" ts-criteria='company_groups[company_groups.length-1].company_group_name') Group
            th.tablesort-sortable-th(ng-if="project==true" ts-criteria='projects') No. Projects
            th.tablesort-sortable-th(ng-if="site==true" ts-criteria='') No. Sites
            th.tablesort-sortable-th(ng-if="site==true" ts-criteria='') No. Fields
            th.tablesort-sortable-th(ng-if="contract==true" ts-criteria='') No. Contracts
            th.tablesort-sortable-th(ng-if="concession==true" ts-criteria='') No. Concessions
            th.tablesort-sortable-th(ng-if="stake==true") Stake
    tbody
        tr(
        ng-repeat="company in companies",ts-repeat)
            td.company_name: a(href="company/{{company._id}}")
                    span(ng-bind-html="company.company_name|sanitize")
            td.company_groups(ng-if="group==true"): text(ng-repeat="group in company.company_groups | unique: '_id'")
                a(href="group/{{ group._id }}")
                    span(ng-bind-html="group.company_group_name|sanitize")
                | {{$last ? '' : ', '}}
            td.company_stake(ng-if="project==true") {{company.projects}}
            td.company_stake(ng-if="site==true") {{company.sites}}
            td.company_stake(ng-if="contract==true") {{company.contracts}}
            td.company_stake(ng-if="concession==true") {{company.concessions}}
            td.company_stake(ng-if="stake==true") {{company.stake}}
.download
    span.glyphicon.glyphicon-download(aria-hidden="true")
    span  Download:
        =' '
        a(href="" ng-csv="csv_company" csv-header="getHeaderCompany()" filename="companies.csv") Companies CSV<commit_msg>concession list page pulling through commodities<commit_after>h2 Companies
table.table.table-striped.companies(ts-wrapper)#company-info
    thead
        tr
            th.tablesort-sortable-th(ts-criteria='company_name') Name
            th.tablesort-sortable-th(ng-if="group==true" ts-criteria='company_groups[company_groups.length-1].company_group_name') Group
            //th.tablesort-sortable-th(ng-if="project==true" ts-criteria='projects') No. Projects
            //th.tablesort-sortable-th(ng-if="site==true" ts-criteria='') No. Sites
            //th.tablesort-sortable-th(ng-if="site==true" ts-criteria='') No. Fields
            //th.tablesort-sortable-th(ng-if="contract==true" ts-criteria='') No. Contracts
            //th.tablesort-sortable-th(ng-if="concession==true" ts-criteria='') No. Concessions
            th.tablesort-sortable-th(ng-if="stake==true") Stake
    tbody
        tr(
        ng-repeat="company in companies",ts-repeat)
            td.company_name: a(href="company/{{company._id}}")
                    span(ng-bind-html="company.company_name|sanitize")
            td.company_groups(ng-if="group==true"): text(ng-repeat="group in company.company_groups | unique: '_id'")
                a(href="group/{{ group._id }}")
                    span(ng-bind-html="group.company_group_name|sanitize")
                | {{$last ? '' : ', '}}
            //td.company_stake(ng-if="project==true") {{company.projects}}
            //td.company_stake(ng-if="site==true") {{company.sites}}
            //td.company_stake(ng-if="contract==true") {{company.contracts}}
            //td.company_stake(ng-if="concession==true") {{company.concessions}}
            td.company_stake(ng-if="stake==true") {{company.stake}}
.download
    span.glyphicon.glyphicon-download(aria-hidden="true")
    span  Download:
        =' '
        a(href="" ng-csv="csv_company" csv-header="getHeaderCompany()" filename="companies.csv") Companies CSV
{'fraction_non_alphanumeric': 0.17025694264209706, 'fraction_numerical': 0.0010381520892810796, 'mean_word_length': 2.9166666666666665, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7245941', 'n_tokens_mistral': 1254, 'n_tokens_neox': 1217, 'n_words': 144}