<commit_before>require 'sinatra'
require 'logger'

require_relative 'downloader'
require_relative 'uploader'

post '/job_receiver/from/:downloader/to/:uploader' do
  @logger = Logger.new('log/simbolica.log')

  downloader = Downloader::Chooser.choose_by(params[:downloader])
  @logger.info("Downloading from #{downloader.name}")

  dsym_file_path = downloader.get_dsym_from request.body.string
  @logger.info("Dsym avaiable at: #{dsym_file_path}")

  uploader = Uploader::Chooser.choose_by(params[:uploader])
  uploader.app_folder = params[:app_folder]
  status = uploader.upload dsym_file_path
  @logger.info("Upload Status from #{uploader.name}\n#{status}")

  downloader.clean_up
  @logger.info("Cleaned! Done!")

  "Simboliquei!"
end<commit_msg>Fix: Params name must follow README doc<commit_after>require 'sinatra'
require 'logger'

require_relative 'downloader'
require_relative 'uploader'

post '/job_receiver/from/:downloader/to/:uploader' do
  @logger = Logger.new('log/simbolica.log')

  downloader = Downloader::Chooser.choose_by(params[:downloader])
  @logger.info("Downloading from #{downloader.name}")

  dsym_file_path = downloader.get_dsym_from request.body.string
  @logger.info("Dsym avaiable at: #{dsym_file_path}")

  uploader = Uploader::Chooser.choose_by(params[:uploader])
  uploader.app_folder = params[:folder_name]
  status = uploader.upload dsym_file_path
  @logger.info("Upload Status from #{uploader.name}\n#{status}")

  downloader.clean_up
  @logger.info("Cleaned! Done!")

  "Simboliquei!"
end
{'fraction_non_alphanumeric': 0.13704918032786886, 'fraction_numerical': 0.0, 'mean_word_length': 6.371980676328502, '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': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1831815', 'n_tokens_mistral': 538, 'n_tokens_neox': 531, 'n_words': 87}