<commit_before><ng-include src="'/views/partials/header.html'"></ng-include>
<!-- <div class="skeleton"> -->
  <h1 class="blue">Compare Legislators</h1>
  <div class="center">
    <img class="image1  image-rounded" ng-src="https://s3.amazonaws.com/assets.sunlightfoundation.com/moc/200x250/{{selected.rep1.bioguide_id}}.jpg"/>
    <img class="image2 image-rounded" ng-src="https://s3.amazonaws.com/assets.sunlightfoundation.com/moc/200x250/{{selected.rep2.bioguide_id}}.jpg"/>
  </div>
  <div class="center">
    <sub-view template="partials/select_rep1_name" class="red "></sub-view>
    <sub-view template="partials/select_rep2_name" class="orange "></sub-view>
  </div>
  <div class="center">
    <ul class="link1">
      <a target="_blank" href="{{reps[selected.rep1.bioguide_id].overview.website}}" class="compare-icon1 icon-globe icon-2x" tooltip="Website - {{reps[selected.rep1.bioguide_id].overview.website}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon1 icon-phone icon-2x" tooltip="Phone - {{reps[selected.rep1.bioguide_id].overview.phone}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon1 icon-print icon-2x" tooltip="Fax - {{reps[selected.rep1.bioguide_id].overview.fax}}" tooltip-placement="top"></a>
      <a target="_blank" href="{{reps[selected.rep1.bioguide_id].overview.contact_form}}" class="compare-icon1 icon-envelope icon-2x" tooltip="Contact form - {{reps[selected.rep1.bioguide_id].overview.contact_form}}" tooltip-placement="top"></a>
      <a target="_blank" href="{{reps[selected.rep1.bioguide_id].overview.twitter_id}}" class="compare-icon1 icon-twitter icon-2x" tooltip="Twitter Page {{reps[selected.rep1.bioguide_id].overview.twitter_id}}" tooltip-placement="top"></a>
      <a target="_blank" href="{{reps[selected.rep1.bioguide_id].overview.facebook_id}}" class="compare-icon1 icon-facebook icon-2x" tooltip="Facebook Page - {{reps[selected.rep1.bioguide_id].overview.facebook_id}}" tooltip-placement="top"></a>
    </ul>
    <div class="link2">
      <a target="_blank" href="{{reps[selected.rep2.bioguide_id].overview.website}}" class="compare-icon2 icon-globe icon-2x" tooltip="Website - {{reps[selected.rep2.bioguide_id].overview.website}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon2 icon-phone icon-2x" tooltip="Phone - {{reps[selected.rep2.bioguide_id].overview.phone}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon2 icon-print icon-2x" tooltip="Fax - {{reps[selected.rep2.bioguide_id].overview.fax}}" tooltip-placement="top"></a>
      <a target="_blank" href="Contact form - {{reps[selected.rep2.bioguide_id].overview.contact_form}}" class="compare-icon2 icon-envelope icon-2x" tooltip="Contact form - {{reps[selected.rep2.bioguide_id].overview.contact_form}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon2 icon-twitter icon-2x" tooltip="Twitter Page - {{reps[selected.rep2.bioguide_id].overview.twitter_id}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon2 icon-facebook icon-2x" tooltip="Facebook Page - {{reps[selected.rep2.bioguide_id].overview.facebook_id}}" tooltip-placement="top"></a>
    </div>
  </div>
  <!-- <div class="">
    <dl class="dl-horizontal">
      <dt class="icon-globe" tooltip="Web site" tooltip-placement="right"></dt>
      <dt class="icon-building" tooltip="Office address {{ rep['overview']['website'] }}" tooltip-placement="right"></dt>
      <dd>{{ rep['overview']['office'] }}</dd>
      <dt class="icon-phone" tooltip="Phone" tooltip-placement="right"></dt>
      <dd><a href="tel:{{ rep['overview']['phone'] }}">{{ rep['overview']['phone'] }}</a></dd>
      <dt class="icon-print" tooltip="Fax" tooltip-placement="right"></dt>
      <dd><a href="fax:{{ rep['overview']['fax'] }}">{{ rep['overview']['fax'] }}</a></dd>
      <dt class="icon-envelope" tooltip="Contact" tooltip-placement="right"></dt>
      <dd><a href="{{ rep['overview']['contact_form'] }}">{{ rep['overview']['contact_form'] }}</a></dd>
      <dt class="icon-twitter" tooltip="Twitter" tooltip-placement="right"></dt>
      <dd><a href="https://twitter.com/{{ rep['overview']['twitter_id'] }}">{{ rep['overview']['twitter_id'] }}</a></dd><dd ng-show="!rep['overview']['twitter_id']"></dd>
      <dt class="icon-facebook-sign" tooltip="Facebook" tooltip-placement="right"></dt>
      <dd><a href="https://facebook.com/{{ rep['overview']['facebook_id'] }}">{{ rep['overview']['facebook_id'] }}</a></dd><dd ng-show="!rep['overview']['facebook_id']"></dd>
    </dl>
  </div> -->
  <div class="top-industries">
    <h3 class="green">Organizational Sources</h3>
    <h4 class="blue">Scaled at $100,000</h4>
    <div class="contributors row">
      <div class="pull-left rep1" style="border-right: solid white 1px">
        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].influence.contributors[0]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>

        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].influence.contributors[1]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>

        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].influence.contributors[2]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>
      </div>
      <div class="pull-right d3Donut-foreground-right rep2">
        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].influence.contributors[0]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>

        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].influence.contributors[1]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>

        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].influence.contributors[2]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>
      </div>
    </div>
  </div>
  <div class="top-individuals">
    <h3 class="blue">Individual Sources</h3>
    <div class="contributors row">
      <div class="pull-left rep1" style="border-right: solid white 1px">
        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].littleSis.donors[0]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>

        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].littleSis.donors[1]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>

        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].littleSis.donors[2]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>
      </div>
      <div class="pull-right rep2">
        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].littleSis.donors[0]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>

        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].littleSis.donors[1]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>

        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].littleSis.donors[2]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>
      </div>
    </div>
  </div>
  <h3 class="green">Individual Donor Contributions</h3>
  <div class="donors">
    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.type.Individuals[0]" data2="reps[selected.rep2.bioguide_id].influence.type.Individuals[0]" label="'Total Funders'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.type.Individuals[1]" data2="reps[selected.rep2.bioguide_id].influence.type.Individuals[1]" label="'Contributions'" currency="true"></compare-bar-chart>
  </div>

  <h3 class="blue">PAC Contributions</h3>
  <div class="donors">
    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.type.PACs[0]" data2="reps[selected.rep2.bioguide_id].influence.type.PACs[0]" label="'Total PACs'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.type.PACs[1]" data2="reps[selected.rep2.bioguide_id].influence.type.PACs[1]" label="'Contributions'" currency="true"></compare-bar-chart>
  </div>
  <h3 class="green">In-State Contributions</h3>
  <div class="donors">
    <compare-bar-chart class="center grid-14" data1="reps[selected.rep1.bioguide_id].influence.local['In-State'][0]" data2="reps[selected.rep2.bioguide_id].influence.local['In-State'][0]" label="'Total Funders'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.local['In-State'][1]" data2="reps[selected.rep2.bioguide_id].influence.local['In-State'][1]" label="'Contributions'" currency="true"></compare-bar-chart>
  </div>

  <h3 class="blue">Out-of-State Contributions</h3>
  <div class="donors">
    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.local['Out-of-State'][0]" data2="reps[selected.rep2.bioguide_id].influence.local['Out-of-State'][0]" label="'Total Funders'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.local['Out-of-State'][1]" data2="reps[selected.rep2.bioguide_id].influence.local['Out-of-State'][1]" label="'Contributions'" currency="true"></compare-bar-chart>
  </div>
  <h3 class="green">Bills Sponsored</h3>
  <div class="donors">
    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].nyt_overview.roles[0].bills_sponsored" data2="reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_sponsored" label="'Sponsored'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].nyt_overview.roles[0].bills_cosponsored" data2="reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_cosponsored" label="'Co-Sponsored'" currency="false"></compare-bar-chart>
  </div>
</div>

  <!--   <h2 class="center grid-14">Top Industries</h2>
     <p>Industry: {{reps[selected.rep1.bioguide_id].influence.industries[0].name}}, Total Amount contributed {{reps[selected.rep1.bioguide_id].influence.industries[0].amount | currency}} || Industry: {{reps[selected.rep2.bioguide_id].influence.industries[0].name}}, Total Amount contributed {{reps[selected.rep2.bioguide_id].influence.industries[0].amount | currency}}</p>
     <p>Industry: {{reps[selected.rep1.bioguide_id].influence.industries[1].name}}, Total Amount contributed {{reps[selected.rep1.bioguide_id].influence.industries[1].amount | currency}} || Industry: {{reps[selected.rep2.bioguide_id].influence.industries[1].name}}, Total Amount contributed {{reps[selected.rep2.bioguide_id].influence.industries[1].amount | currency}}</p> -->

  <h3 class="blue"> Industries Contributing to Both Legislators</h3>
  <div class="donors">
    <div ng-repeat="(key, value) in compareIndustries"><compare-bar-chart data1="value[0]" data2="value[1]" label="key" lwidth=170 currency="true"></compare-bar-chart> </div><br/>
  </div>

  <!--
    <p>Industry: {{reps[selected.rep1.bioguide_id].influence.industries[2].name}}, Total Amount contributed {{reps[selected.rep1.bioguide_id].influence.industries[2].amount | currency}} || Industry: {{reps[selected.rep2.bioguide_id].influence.industries[2].name}}, Total Amount contributed {{reps[selected.rep2.bioguide_id].influence.industries[2].amount | currency}}</p>

    <h2 class="center grid-14">Report Card</h2>
    <p> Bills sponsored by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.bills_sponsored}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_sponsored}}</p>

    <p> Bills co-sponsored by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.bills_cosponsored}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_cosponsored}}</p>
  <p> Bills co-sponsored by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.bills_cosponsored}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_cosponsored}}</p>

  <p> Missed vote percentage by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.missed_votes_pct}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles.missed_votes_pct}}</p>

  <p> votes with party percentage by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.votes_with_party_pct}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles.votes_with_party_pct}}</p>

  <p>common votes {{comparison.votes.common_votes}}</p>
  <p>disagree votes {{comparison.votes.disagree_votes}}</p>
  <p>agree percentage {{comparison.votes.agree_percent}}</p>
  <p>disagree percentage {{comparison.votes.disagree_percent}}</p>
  <p>common bills {{comparison.bills.common_bills}}</p>
  -->

<!-- </div> -->
<sub-view template="partials/footer"></sub-view><commit_msg>fixing some errors<commit_after>
  <h1 class="blue">Compare Legislators</h1>
  <div class="center">
    <img class="image1  image-rounded" ng-src="https://s3.amazonaws.com/assets.sunlightfoundation.com/moc/200x250/{{selected.rep1.bioguide_id}}.jpg"/>
    <img class="image2 image-rounded" ng-src="https://s3.amazonaws.com/assets.sunlightfoundation.com/moc/200x250/{{selected.rep2.bioguide_id}}.jpg"/>
  </div>
  <div class="center">
    <sub-view template="partials/select_rep1_name" class="red "></sub-view>
    <sub-view template="partials/select_rep2_name" class="orange "></sub-view>
  </div>
  <div class="center">
    <ul class="link1">
      <a target="_blank" href="{{reps[selected.rep1.bioguide_id].overview.website}}" class="compare-icon1 icon-globe icon-2x" tooltip="Website - {{reps[selected.rep1.bioguide_id].overview.website}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon1 icon-phone icon-2x" tooltip="Phone - {{reps[selected.rep1.bioguide_id].overview.phone}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon1 icon-print icon-2x" tooltip="Fax - {{reps[selected.rep1.bioguide_id].overview.fax}}" tooltip-placement="top"></a>
      <a target="_blank" href="{{reps[selected.rep1.bioguide_id].overview.contact_form}}" class="compare-icon1 icon-envelope icon-2x" tooltip="Contact form - {{reps[selected.rep1.bioguide_id].overview.contact_form}}" tooltip-placement="top"></a>
      <a target="_blank" href="{{reps[selected.rep1.bioguide_id].overview.twitter_id}}" class="compare-icon1 icon-twitter icon-2x" tooltip="Twitter Page {{reps[selected.rep1.bioguide_id].overview.twitter_id}}" tooltip-placement="top"></a>
      <a target="_blank" href="{{reps[selected.rep1.bioguide_id].overview.facebook_id}}" class="compare-icon1 icon-facebook icon-2x" tooltip="Facebook Page - {{reps[selected.rep1.bioguide_id].overview.facebook_id}}" tooltip-placement="top"></a>
    </ul>
    <div class="link2">
      <a target="_blank" href="{{reps[selected.rep2.bioguide_id].overview.website}}" class="compare-icon2 icon-globe icon-2x" tooltip="Website - {{reps[selected.rep2.bioguide_id].overview.website}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon2 icon-phone icon-2x" tooltip="Phone - {{reps[selected.rep2.bioguide_id].overview.phone}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon2 icon-print icon-2x" tooltip="Fax - {{reps[selected.rep2.bioguide_id].overview.fax}}" tooltip-placement="top"></a>
      <a target="_blank" href="Contact form - {{reps[selected.rep2.bioguide_id].overview.contact_form}}" class="compare-icon2 icon-envelope icon-2x" tooltip="Contact form - {{reps[selected.rep2.bioguide_id].overview.contact_form}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon2 icon-twitter icon-2x" tooltip="Twitter Page - {{reps[selected.rep2.bioguide_id].overview.twitter_id}}" tooltip-placement="top"></a>
      <a target="_blank" href="" class="compare-icon2 icon-facebook icon-2x" tooltip="Facebook Page - {{reps[selected.rep2.bioguide_id].overview.facebook_id}}" tooltip-placement="top"></a>
    </div>
  </div>
  <div class="top-industries">
    <h3 class="green">Organizational Sources</h3>
    <h4 class="blue">Scaled at $100,000</h4>
    <div class="contributors row">
      <div class="rep1">
        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].influence.contributors[0]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>

        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].influence.contributors[1]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>

        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].influence.contributors[2]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>
      </div>
      <div class="rep2">
        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].influence.contributors[0]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>

        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].influence.contributors[1]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>

        <d3-donut scale="scale_company" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].influence.contributors[2]" number="total_amount" label="name" type="organization" class="span2">
        </d3-donut>
      </div>
    </div>
  </div>
  <div class="top-individuals">
    <h3 class="blue">Individual Sources</h3>
    <div class="contributors row">
      <div class="rep1">
        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].littleSis.donors[0]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>

        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].littleSis.donors[1]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>

        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep1.bioguide_id].littleSis.donors[2]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>
      </div>
      <div class="rep2">
        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].littleSis.donors[0]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>

        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].littleSis.donors[1]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>

        <d3-donut scale="scale_individual" on-click="d3DonutClick(item)" contributor="reps[selected.rep2.bioguide_id].littleSis.donors[2]" number="amount" label="name" type="individual" class="span2">
        </d3-donut>
      </div>
    </div>
  </div>
  <h3 class="green">Individual Donor Contributions</h3>
  <div class="donors">
    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.type.Individuals[0]" data2="reps[selected.rep2.bioguide_id].influence.type.Individuals[0]" label="'Total Funders'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.type.Individuals[1]" data2="reps[selected.rep2.bioguide_id].influence.type.Individuals[1]" label="'Contributions'" currency="true"></compare-bar-chart>
  </div>

  <h3 class="blue">PAC Contributions</h3>
  <div class="donors">
    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.type.PACs[0]" data2="reps[selected.rep2.bioguide_id].influence.type.PACs[0]" label="'Total PACs'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.type.PACs[1]" data2="reps[selected.rep2.bioguide_id].influence.type.PACs[1]" label="'Contributions'" currency="true"></compare-bar-chart>
  </div>
  <h3 class="green">In-State Contributions</h3>
  <div class="donors">
    <compare-bar-chart class="center grid-14" data1="reps[selected.rep1.bioguide_id].influence.local['In-State'][0]" data2="reps[selected.rep2.bioguide_id].influence.local['In-State'][0]" label="'Total Funders'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.local['In-State'][1]" data2="reps[selected.rep2.bioguide_id].influence.local['In-State'][1]" label="'Contributions'" currency="true"></compare-bar-chart>
  </div>

  <h3 class="blue">Out-of-State Contributions</h3>
  <div class="donors">
    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.local['Out-of-State'][0]" data2="reps[selected.rep2.bioguide_id].influence.local['Out-of-State'][0]" label="'Total Funders'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].influence.local['Out-of-State'][1]" data2="reps[selected.rep2.bioguide_id].influence.local['Out-of-State'][1]" label="'Contributions'" currency="true"></compare-bar-chart>
  </div>
  <h3 class="green">Bills Sponsored</h3>
  <div class="donors">
    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].nyt_overview.roles[0].bills_sponsored" data2="reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_sponsored" label="'Sponsored'" currency="false"></compare-bar-chart>

    <compare-bar-chart data1="reps[selected.rep1.bioguide_id].nyt_overview.roles[0].bills_cosponsored" data2="reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_cosponsored" label="'Co-Sponsored'" currency="false"></compare-bar-chart>
  </div>
</div>

  <!--   <h2 class="center grid-14">Top Industries</h2>
     <p>Industry: {{reps[selected.rep1.bioguide_id].influence.industries[0].name}}, Total Amount contributed {{reps[selected.rep1.bioguide_id].influence.industries[0].amount | currency}} || Industry: {{reps[selected.rep2.bioguide_id].influence.industries[0].name}}, Total Amount contributed {{reps[selected.rep2.bioguide_id].influence.industries[0].amount | currency}}</p>
     <p>Industry: {{reps[selected.rep1.bioguide_id].influence.industries[1].name}}, Total Amount contributed {{reps[selected.rep1.bioguide_id].influence.industries[1].amount | currency}} || Industry: {{reps[selected.rep2.bioguide_id].influence.industries[1].name}}, Total Amount contributed {{reps[selected.rep2.bioguide_id].influence.industries[1].amount | currency}}</p> -->

  <h3 class="blue"> Industries Contributing to Both Legislators</h3>
  <div class="donors">
    <div ng-repeat="(key, value) in compareIndustries"><compare-bar-chart data1="value[0]" data2="value[1]" label="key" lwidth=170 currency="true"></compare-bar-chart> </div><br/>
  </div>
  <!--
    <p>Industry: {{reps[selected.rep1.bioguide_id].influence.industries[2].name}}, Total Amount contributed {{reps[selected.rep1.bioguide_id].influence.industries[2].amount | currency}} || Industry: {{reps[selected.rep2.bioguide_id].influence.industries[2].name}}, Total Amount contributed {{reps[selected.rep2.bioguide_id].influence.industries[2].amount | currency}}</p>

    <h2 class="center grid-14">Report Card</h2>
    <p> Bills sponsored by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.bills_sponsored}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_sponsored}}</p>

    <p> Bills co-sponsored by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.bills_cosponsored}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_cosponsored}}</p>
  <p> Bills co-sponsored by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.bills_cosponsored}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles[0].bills_cosponsored}}</p>

  <p> Missed vote percentage by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.missed_votes_pct}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles.missed_votes_pct}}</p>

  <p> votes with party percentage by {{reps[selected.rep1.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep1.bioguide_id].nyt_overview.roles.votes_with_party_pct}} || by {{reps[selected.rep2.bioguide_id].nyt_overview.first_name}} {{reps[selected.rep2.bioguide_id].nyt_overview.roles.votes_with_party_pct}}</p>

  <p>common votes {{comparison.votes.common_votes}}</p>
  <p>disagree votes {{comparison.votes.disagree_votes}}</p>
  <p>agree percentage {{comparison.votes.agree_percent}}</p>
  <p>disagree percentage {{comparison.votes.disagree_percent}}</p>
  <p>common bills {{comparison.bills.common_bills}}</p>
  -->
{'fraction_non_alphanumeric': 0.1908916550712647, 'fraction_numerical': 0.02192471136850814, 'mean_word_length': 6.012658227848101, 'pattern_counts': {'":': 0, '<': 396, '<?xml version=': 0, '>': 396, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '732399', 'n_tokens_mistral': 10149, 'n_tokens_neox': 9589, 'n_words': 1121}