<commit_before>%h1 Who profits from WestConnex?
%p.lede
  These #{@contractors.count} companies have been contracted by the NSW Government.
  So far, their #{pluralize(Contract.count, "contracts")} are worth #{number_to_currency(Contract.sum(:value), precision: 0)}.
%ul.contractors
  - @contractors.each do |contractor|
    %li.contractor
      %header
        %h2.contractor-name= contractor.name
        %span.contractor-value= number_to_currency(contractor.total_est_contract_value, precision: 0)
        - if contractor.website
          %p= link_to simple_url(contractor.website), contractor.website, class: 'contractor-website'
      %h3.contract-counter= pluralize(contractor.contracts.count, "contract")
      %ul.contracts
        - contractor.contracts.each do |contract|
          %li.contract
            %p.contract-description
              “#{link_to(contract.description, contract.url, title: "View the contract listing at tenders.gov.nsw")}”.
            %dl.contract-data-list
              %dt Value:
              %dd.contract-value #{number_to_currency(contract.value, precision: 0)}
              %dt Period:
              %dd.contract-duration #{contract.start_date} – #{contract.end_date}<commit_msg>Remove sentence grammer<commit_after>%h1 Who profits from WestConnex?
%p.lede
  These #{@contractors.count} companies have been contracted by the NSW Government.
  So far, their #{pluralize(Contract.count, "contracts")} are worth #{number_to_currency(Contract.sum(:value), precision: 0)}.
%ul.contractors
  - @contractors.each do |contractor|
    %li.contractor
      %header
        %h2.contractor-name= contractor.name
        %span.contractor-value= number_to_currency(contractor.total_est_contract_value, precision: 0)
        - if contractor.website
          %p= link_to simple_url(contractor.website), contractor.website, class: 'contractor-website'
      %h3.contract-counter= pluralize(contractor.contracts.count, "contract")
      %ul.contracts
        - contractor.contracts.each do |contract|
          %li.contract
            %p.contract-description
              = link_to(contract.description, contract.url, title: "View the contract listing at tenders.gov.nsw")
            %dl.contract-data-list
              %dt Value:
              %dd.contract-value #{number_to_currency(contract.value, precision: 0)}
              %dt Period:
              %dd.contract-duration #{contract.start_date} – #{contract.end_date}
{'fraction_non_alphanumeric': 0.11522801302931596, 'fraction_numerical': 0.004885993485342019, 'mean_word_length': 3.074626865671642, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '394006', 'n_tokens_mistral': 733, 'n_tokens_neox': 708, 'n_words': 155}