<commit_before><%- model_class = Carrier -%>
<%t '.title', :default => model_class.model_name.human.titleize.pluralize %>
<div class="page-header">
  <ul class="breadcrumb">
    <li><%= link_to model_class.model_name.human.titleize.pluralize, carriers_path %></li>
    <li class="active"><%= @carrier.name %></li>
  </ul>
</div>

<dl class="dl-horizontal">
  <dt><%= model_class.human_attribute_name(:name) %></dt>
  <dd><%= @carrier.name %></dd>
  <dt><%= model_class.human_attribute_name(:abbrev) %></dt>
  <dd><%= @carrier.abbrev %></dd>
  <dt>HBX ID</dt>
  <dd><%= @carrier.hbx_carrier_id %></dd>
</dl>

<h4>Plans</h4>
<table class="table table-condensed">
<thead>
  <tr>
    <th>Name</th>
    <th>HIOS ID</th>
    <th>Type</th>
    <th>Metal Level</th>
    <th>EHB Pct</th>
    <th>Enrollment Ct</th>
  </tr>
</thead>
<tbody>
  <% @plans.each do |plan| %>
  <tr>
    <td><%= plan.name %></td>
    <td><%= plan.hios_plan_id %></td>
    <td><%= plan.coverage_type.capitalize %></td>
    <td><%= plan.metal_level.capitalize %></td>
    <td><%= plan.ehb %></td>
    <td><%= number_with_delimiter(plan.policies.count) %></td>
  </tr>
  <% end %>
</tbody>
</table>

<h4>Payments</h4>
<%= render 'employers/payments_table', premium_payments: @carrier.premium_payments[0..50] %>
<commit_msg>Linked plans to carrier show page.<commit_after><%- model_class = Carrier -%>
<%t '.title', :default => model_class.model_name.human.titleize.pluralize %>
<div class="page-header">
  <ul class="breadcrumb">
    <li><%= link_to model_class.model_name.human.titleize.pluralize, carriers_path %></li>
    <li class="active"><%= @carrier.name %></li>
  </ul>
</div>

<dl class="dl-horizontal">
  <dt><%= model_class.human_attribute_name(:name) %></dt>
  <dd><%= @carrier.name %></dd>
  <dt><%= model_class.human_attribute_name(:abbrev) %></dt>
  <dd><%= @carrier.abbrev %></dd>
  <dt>HBX ID</dt>
  <dd><%= @carrier.hbx_carrier_id %></dd>
</dl>

<h4>Plans</h4>
<table class="table table-condensed">
<thead>
  <tr>
    <th>Name</th>
    <th>HIOS ID</th>
    <th>Type</th>
    <th>Metal Level</th>
    <th>EHB Pct</th>
    <th>Enrollment Ct</th>
  </tr>
</thead>
<tbody>
  <% @plans.each do |plan| %>
  <tr>
    <td><%= link_to plan.name, plans_path(plan) %></td>
    <td><%= plan.hios_plan_id %></td>
    <td><%= plan.coverage_type.capitalize %></td>
    <td><%= plan.metal_level.capitalize %></td>
    <td><%= plan.ehb %></td>
    <td><%= number_with_delimiter(plan.policies.count) %></td>
  </tr>
  <% end %>
</tbody>
</table>

<h4>Payments</h4>
<%= render 'employers/payments_table', premium_payments: @carrier.premium_payments[0..50] %>

{'fraction_non_alphanumeric': 0.24399542508577965, 'fraction_numerical': 0.00533739992375143, 'mean_word_length': 4.095145631067961, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 161, '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': '2740625', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1089, 'n_words': 191}