<commit_before>class PokemonsController < ApplicationController
  if Rails.env.staging? || Rails.env.production?
    http_basic_authenticate_with name: ENV['BASIC_AUTH_NAME'],
                                 password: ENV['<PASSWORD>']
  end
  before_action :download_key_present?, only: :download

  def new; end

  def create
    pokemon = Pokemon.create(
      email: params[:email],
      parent_name: params[:parent_name],<commit_msg>Generate unique id/pass for download form<commit_after>class PokemonsController < ApplicationController
  if Rails.env.staging? || Rails.env.production?
    http_basic_authenticate_with name: ENV['BASIC_AUTH_NAME_FOR_POKEMON'],
                                 password: ENV['<PASSWORD>']
  end
  before_action :download_key_present?, only: :download

  def new; end

  def create
    pokemon = Pokemon.create(
      email: params[:email],
      parent_name: params[:parent_name],
{'fraction_non_alphanumeric': 0.0967391304347826, 'fraction_numerical': 0.0, 'mean_word_length': 3.4926829268292683, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4808246', 'n_tokens_mistral': 280, 'n_tokens_neox': 268, 'n_words': 58}