<commit_before>
def get_marker_image(ss)
	if ss > 70
		return "http://maps.gstatic.com/intl/en_us/mapfiles/ms/micons/green-dot.png"
	elsif ss > 50
		return "http://maps.gstatic.com/intl/en_us/mapfiles/ms/micons/yellow-dot.png"
	else
		return "http://maps.gstatic.com/intl/en_us/mapfiles/ms/micons/red-dot.png"
	end
end

def info_window(log)
	station = log.station
	
	content = ''
	content += link_to station.callsign, "http://www.rabbitears.info/market.php?request=station_search&callsign=#{station.callsign}#station", { :target => 'station_lookup' }
	content += '<br /><hr>Last received on ' + log.created_at.to_s + '<br />'
	content += 'Channel: ' + station.rf.to_s + '<br />'	
	content += 'Distance: ' + station.distance.round(2).to_s + ' mi<br />'
	content += 'Most recent scan: <br />'
	content += 'Signal Strength: ' + log.signal_strength.to_s + '<br />'
	content += 'Signal to Noize: ' + log.signal_to_noise.to_s + '<br />'
	content += 'Signal Quality: ' + log.signal_quality.to_s + '<br />'
	content += link_to 'Signal Graph', "/chart/#{station.id}/#{log.tuner.id}", { :target => 'signal_graph' }
end
<commit_msg>Fix typo Noize -> Noise<commit_after>
def get_marker_image(ss)
	if ss > 70
		return "http://maps.gstatic.com/intl/en_us/mapfiles/ms/micons/green-dot.png"
	elsif ss > 50
		return "http://maps.gstatic.com/intl/en_us/mapfiles/ms/micons/yellow-dot.png"
	else
		return "http://maps.gstatic.com/intl/en_us/mapfiles/ms/micons/red-dot.png"
	end
end

def info_window(log)
	station = log.station
	
	content = ''
	content += link_to station.callsign, "http://www.rabbitears.info/market.php?request=station_search&callsign=#{station.callsign}#station", { :target => 'station_lookup' }
	content += '<br /><hr>Last received on ' + log.created_at.to_s + '<br />'
	content += 'Channel: ' + station.rf.to_s + '<br />'	
	content += 'Distance: ' + station.distance.round(2).to_s + ' mi<br />'
	content += 'Most recent scan: <br />'
	content += 'Signal Strength: ' + log.signal_strength.to_s + '<br />'
	content += 'Signal to Noise: ' + log.signal_to_noise.to_s + '<br />'
	content += 'Signal Quality: ' + log.signal_quality.to_s + '<br />'
	content += link_to 'Signal Graph', "/chart/#{station.id}/#{log.tuner.id}", { :target => 'signal_graph' }
end

{'fraction_non_alphanumeric': 0.19182948490230906, 'fraction_numerical': 0.004440497335701598, 'mean_word_length': 4.1438356164383565, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3565816', 'n_tokens_mistral': 886, 'n_tokens_neox': 857, 'n_words': 149}