<commit_before><?php 
 include("../../config/settings.inc.php");
 define("IEM_APPID", 10);
 
 include "$rootpath/include/database.inc.php";
 include "$rootpath/include/network.php";
 include "$rootpath/include/mlib.php";
 $dbconn = iemdb("isuag");
 $nt = new NetworkTable("ISUSM");
 
 /* Get the last observation */
 $rs = pg_query($dbconn, "select * from (select *, 
 		rank() over (order by valid DESC) from sm_hourly 
 		ORDER by valid DESC LIMIT 1) as foo where rank = 1");
 $table = "<table cellspacing='0' cellpadding='2', border='1'>
 		<tr><th rowspan='2'>Location</th>
 		<th rowspan='2'>Valid</th>
 		<th colspan='2'>12 inches</th>
 		<th colspan='2'>24 inches</th>
 		<th colspan='2'>50 inches</th>
 		</tr>
 		<tr><th>Temp &deg;F</th><th>Moisture %</th>
 		<th>Temp &deg;F</th><th>Moisture %</th>
 		<th>Temp &deg;F</th><th>Moisture %</th>
 		</tr>";
 for ($i=0;$row=@pg_fetch_assoc($rs,$i);$i++){<commit_msg>allow more sites to appear on mainpage<commit_after><?php 
 include("../../config/settings.inc.php");
 define("IEM_APPID", 10);
 
 include "$rootpath/include/database.inc.php";
 include "$rootpath/include/network.php";
 include "$rootpath/include/mlib.php";
 $dbconn = iemdb("isuag");
 $nt = new NetworkTable("ISUSM");
 
 /* Get the last observation */
 $rs = pg_query($dbconn, "select * from (select *, 
 		rank() over (partition by station order by valid DESC) from sm_hourly 
 		ORDER by valid DESC LIMIT 100) as foo where rank = 1");
 $table = "<table cellspacing='0' cellpadding='2', border='1'>
 		<tr><th rowspan='2'>Location</th>
 		<th rowspan='2'>Valid</th>
 		<th colspan='2'>12 inches</th>
 		<th colspan='2'>24 inches</th>
 		<th colspan='2'>50 inches</th>
 		</tr>
 		<tr><th>Temp &deg;F</th><th>Moisture %</th>
 		<th>Temp &deg;F</th><th>Moisture %</th>
 		<th>Temp &deg;F</th><th>Moisture %</th>
 		</tr>";
 for ($i=0;$row=@pg_fetch_assoc($rs,$i);$i++){
{'fraction_non_alphanumeric': 0.2201058201058201, 'fraction_numerical': 0.021164021164021163, 'mean_word_length': 4.402857142857143, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 57, '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': '1334319', 'n_tokens_mistral': 787, 'n_tokens_neox': 726, 'n_words': 156}