<commit_before>require 'sinatra'

set :port, 8080

get '/progress/:id' do
  "Download id: #{params[:id]}"
end<commit_msg>wrap sinatra app in a base class<commit_after>require 'sinatra/base'

class WebApp < Sinatra::Base
  get '/progress/:id' do
    "Download id: #{params[:id]}"
  end
end
{'fraction_non_alphanumeric': 0.1527777777777778, 'fraction_numerical': 0.013888888888888888, 'mean_word_length': 4.8979591836734695, 'pattern_counts': {'":': 0, '<': 4, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '601799', 'n_tokens_mistral': 106, 'n_tokens_neox': 104, 'n_words': 30}