<commit_before><?php
function listItem($url, $ltext, $name, $selected)
{
  if ($name != $selected)
    return "<li><a href=\"$url\">$ltext</a></li>\n";

  return "<li><a href=\"$url\"><strong style=\"color: #f00;\">$ltext</strong></a></li>\n";
}

?>
<div class="horiz-list" style="border: #bdf solid 2px;">
<ul style="background: #fff; margin: 2px; padding-left: 5px;">
 <li><strong style="color: #bdf;">Current Data:</strong></li>
<?php
  echo listItem("index.phtml", "Surface Data", "surface", $THISPAGE);
  echo listItem("radar.phtml", "RADAR & Satellite", "radar", $THISPAGE);
  echo listItem("severe.phtml", "Severe Weather", "severe", $THISPAGE);
  echo listItem("misc.phtml", "Advanced Products", "advanced", $THISPAGE);
  echo listItem("camera.phtml", "Web Cameras", "camera", $THISPAGE);
?>
</ul>
</div>
<commit_msg>make urls fancy<commit_after><?php
function listItem($url, $ltext, $name, $selected)
{
  if ($name != $selected)
    return "<li><a href=\"$url\">$ltext</a></li>\n";

  return "<li><a href=\"$url\"><strong style=\"color: #f00;\">$ltext</strong></a></li>\n";
}

?>
<div class="horiz-list" style="border: #bdf solid 2px;">
<ul style="background: #fff; margin: 2px; padding-left: 5px;">
 <li><strong style="color: #bdf;">Current Data:</strong></li>
<?php
  echo listItem($rooturl."/current/index.phtml", "Surface Data", "surface", $THISPAGE);
  echo listItem($rooturl."/current/radar.phtml", "RADAR & Satellite", "radar", $THISPAGE);
  echo listItem($rooturl."/current/severe.phtml", "Severe Weather", "severe", $THISPAGE);
  echo listItem($rooturl."/current/misc.phtml", "Advanced Products", "advanced", $THISPAGE);
  echo listItem($rooturl."/current/camera.phtml", "Web Cameras", "camera", $THISPAGE);
?>
</ul>
</div>

{'fraction_non_alphanumeric': 0.24339839265212398, 'fraction_numerical': 0.0057405281285878304, 'mean_word_length': 5.862204724409449, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '219738', 'n_tokens_mistral': 664, 'n_tokens_neox': 623, 'n_words': 136}