<commit_before><script type="text/javascript">
  var northArr = <%=@northbound_arr%>;
  var northStops = <%= @northstop_arr %>;
  var southArr = <%=@southbound_arr%>;
  var southStops = <%= @southstop_arr %>;
</script>

<br>
<div id="map"></div>

<h1 style="text-align:center"> Caltrain Departure Times </h1>
<div class="buttonWrap"
  <button src="" id="mapButton"> Show Caltrain Stops!</button>
</div>
<br>
<br>

  <table style="width:100"%>
    <tr>
      <th><h2>Station Name</h2></th>
      <th><h2>Route Direction</h2></th>
      <th><h2>Departure Time</h2></th>
    </tr>
    <% neww = CalTrain.new%>
    <% neww.display_departures%>
    <% ap neww.stop_name%>
    <% neww.stop_name.each do |stop_name, route_dir|%>
    <tr>
      <td><h4><%= stop_name[:name]%></h4></td>
      <td><h4><%= stop_name[:route_direction]%></h4></td>
      <%end%>
      <td><h4><% neww.departuretime%></h4></td>
    </tr>
  </table>



<script async defer
      src="https://maps.googleapis.com/maps/api/js?key=#{ENV['GOOGLE_MAPS_API_KEY']}&callback=initMap">
</script>
<commit_msg>display station name and it's route direction on table on index view<commit_after><script type="text/javascript">
  var northArr = <%=@northbound_arr%>;
  var northStops = <%= @northstop_arr %>;
  var southArr = <%=@southbound_arr%>;
  var southStops = <%= @southstop_arr %>;
</script>

<br>
<div id="map"></div>

<h1 style="text-align:center"> Caltrain Departure Times </h1>
<div class="buttonWrap"
  <button src="" id="mapButton"> Show Caltrain Stops!</button>
</div>
<br>
<br>

  <table style="width:100"%>
    <tr>
      <th><h2>Station Name</h2></th>
      <th><h2>Route Direction</h2></th>
      <th><h2>Departure Time</h2></th>
    </tr>
    <% neww = CalTrain.new%>
    <% neww.display_departures%>
    <% neww.stop_name%>
    <% neww.stop_name.each do |stop_name|%>
    <% ap stop_name%>
    <tr>
      <td><h4><%= stop_name[:name]%></h4></td>
      <% stop_name[:route_direction].each do |direction| %>
      <td><h4><%= direction %></h4></td>
        <%end%>
      <%end%>
      <td><h4><% neww.departuretime%></h4></td>
    </tr>
  </table>



<script async defer
      src="https://maps.googleapis.com/maps/api/js?key=#{ENV['GOOGLE_MAPS_API_KEY']}&callback=initMap">
</script>

{'fraction_non_alphanumeric': 0.22276350752878654, 'fraction_numerical': 0.015057573073516387, 'mean_word_length': 3.7557894736842106, 'pattern_counts': {'":': 0, '<': 120, '<?xml version=': 0, '>': 118, 'https://': 2, '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': '2313943', 'n_tokens_mistral': 946, 'n_tokens_neox': 886, 'n_words': 154}