<commit_before>#!/usr/bin/env ruby

require 'sinatra'
require_relative 'config.rb'
require_relative 'lib/adsb.rb'

set :bind => '0.0.0.0'

$db = ADSB::Database.new
$listener = ADSB::Listener.new $HOSTNAME, $PORT, $db



get '/adsb.kml' do
	content_type 'application/vnd.google-earth.kml+xml'<commit_msg>expires<commit_after>#!/usr/bin/env ruby

require 'sinatra'
require_relative 'config.rb'
require_relative 'lib/adsb.rb'

set :bind => '0.0.0.0'

$db = ADSB::Database.new
$db.expire_after
$listener = ADSB::Listener.new $HOSTNAME, $PORT, $db



get '/adsb.kml' do
	content_type 'application/vnd.google-earth.kml+xml'
{'fraction_non_alphanumeric': 0.1685575364667747, 'fraction_numerical': 0.012965964343598054, 'mean_word_length': 5.118811881188119, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, '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': '1289055', 'n_tokens_mistral': 264, 'n_tokens_neox': 247, 'n_words': 46}