<commit_before><p id="notice"><%= notice %></p>

<p>
  <b>Identifier:</b>
  <%= @vehicle.identifier %>
</p>

<p>
  <b>Name:</b>
  <%= @vehicle.name %>
</p>

<p>
  <b>Active:</b>
  <%= @vehicle.active? %>
</p>

<p>
  <b>Enabled:</b>
  <%= @vehicle.enabled %>
</p>


<%= link_to 'Edit', edit_vehicle_path(@vehicle) if can? :update, @vehicle %> |
<%= link_to 'Back', vehicles_path %><commit_msg>clean up vehicles#show<commit_after><% content_for :js_ready do %>
  var stop = <%=raw @stop.to_json() %>;
  stop = stop.stop;
  var map = setup_map(stop, 17);
  add_point_to_map(stop, map);
<% end %>

<% content_for :title, @vehicle.name %>

<div class="main-title">
        <%= @vehicle.name %>
</div>
<div class="data_grid">
  <dl>
    <dt>Identifier:</dt>
    <dd><%= @vehicle.identifier %></dd>
    <dt>Active:</dt>
    <dd><%= @vehicle.active? %></dd>
    <dt>Enabled:</dt>
    <dd><%= @vehicle.enabled %></dd>
  </dl>
</div>
<%= map_canvas({:style => "height: 300px; width: 49%;"})%>
<div>
  <%= link_to 'Edit', edit_vehicle_path(@vehicle) if can? :update, @vehicle %> |
  <%= link_to 'Back', vehicles_path %>
</div>
{'fraction_non_alphanumeric': 0.2591928251121076, 'fraction_numerical': 0.006278026905829596, 'mean_word_length': 4.004484304932736, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 60, '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': '7198560', 'n_tokens_mistral': 503, 'n_tokens_neox': 449, 'n_words': 90}