<commit_before>require 'sinatra'

DATA_PATH = File.expand_path('../../data', __FILE__).freeze

get '/seasons/:year' do |year|<commit_msg>server: add / endpoint that returns 200<commit_after>require 'sinatra'

DATA_PATH = File.expand_path('../../data', __FILE__).freeze

get '/' do
  status(200)
end

get '/seasons/:year' do |year|
{'fraction_non_alphanumeric': 0.1787878787878788, 'fraction_numerical': 0.01818181818181818, 'mean_word_length': 4.610169491525424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4065779', 'n_tokens_mistral': 121, 'n_tokens_neox': 116, 'n_words': 26}