<commit_before><ul>
  <li>Name: <%=h(@analog_input.name)%></li>
  <li>Address: <%=h(@analog_input.address)%></li>
  <li>Size: <%=h(@analog_input.size)%></li>
  <li>Reference: <%=h(@analog_input.reference)%></li>
  <li>Type: <%=h(@analog_input.type.title)%> (<%=h(@analog_input.type.code)%>)</li>
</ul>

<h3>Recent values</h3>
<table>
  <thead>
    <th>Value</th>
    <th>Original</th>
    <th>Created</th>
  </thead>
  <tbody>
<%
  tz = Time.zone
  if @analog_input.base_station.timezone and @analog_input.base_station.timezone != ""
    tz = TZInfo::Timezone.get(@analog_input.base_station.timezone)
                  t = tz.utc_to_local(t)
  end
  if @logs.length == 0
%>
    <tr>
      <td colspan="100" class="noresults">No log entries yet</td>
    </tr>
<%
  end
  @logs.each do |l|
%>
  <tr>
    <td><%=l[:human_value].round(1)%>&deg;C</td>
    <td><%=l[:value]%></td>
    <td><%=tz.utc_to_local(l[:created_at])%></td>
<%
  end
%>
  </tbody>
</table><commit_msg>Remove UTC string from local times<commit_after><ul>
  <li>Name: <%=h(@analog_input.name)%></li>
  <li>Address: <%=h(@analog_input.address)%></li>
  <li>Size: <%=h(@analog_input.size)%></li>
  <li>Reference: <%=h(@analog_input.reference)%></li>
  <li>Type: <%=h(@analog_input.type.title)%> (<%=h(@analog_input.type.code)%>)</li>
</ul>

<h3>Recent values</h3>
<table>
  <thead>
    <th>Value</th>
    <th>Original</th>
    <th>Created</th>
  </thead>
  <tbody>
<%
  tz = Time.zone
  if @analog_input.base_station.timezone and @analog_input.base_station.timezone != ""
    tz = TZInfo::Timezone.get(@analog_input.base_station.timezone)
                  t = tz.utc_to_local(t)
  end
  if @logs.length == 0
%>
    <tr>
      <td colspan="100" class="noresults">No log entries yet</td>
    </tr>
<%
  end
  @logs.each do |l|
%>
  <tr>
    <td><%=l[:human_value].round(1)%>&deg;C</td>
    <td><%=l[:value]%></td>
    <td><%=tz.utc_to_local(l[:created_at]).to_s.gsub(/ ?UTC/,'')%></td>
<%
  end
%>
  </tbody>
</table>
{'fraction_non_alphanumeric': 0.24861040929762507, 'fraction_numerical': 0.007074279939363315, 'mean_word_length': 3.8175182481751824, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, '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': '4135989', 'n_tokens_mistral': 919, 'n_tokens_neox': 862, 'n_words': 115}