<commit_before>class ParticipationsController < ApplicationController
  before_action :load_fleet, :load_eve_header

  def show
  end

  def new
    @participating = @fleet.participating?(@eve_char_info.id)
    puts @expired = @fleet.expired?
  end

  def create
    if @fleet.participating?(@eve_char_info.id) || @fleet.expired?
      render :show
    else
      @fleet.participations << Participation.build_from_eve_headers(@eve_char_info)
      redirect_to fleet_participation_path(@fleet)<commit_msg>hothotfix cause i commited crap<commit_after>class ParticipationsController < ApplicationController
  before_action :load_fleet, :load_eve_header

  def show
  end

  def new
    @participating = @fleet.participating?(@eve_char_info.id)
    @expired = @fleet.expired?
  end

  def create
    if @fleet.participating?(@eve_char_info.id) || @fleet.expired?
      render :show
    else
      @fleet.participations << Participation.build_from_eve_headers(@eve_char_info)
      redirect_to fleet_participation_path(@fleet)
{'fraction_non_alphanumeric': 0.0881488736532811, 'fraction_numerical': 0.0, 'mean_word_length': 4.554347826086956, 'pattern_counts': {'":': 0, '<': 9, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7310500', 'n_tokens_mistral': 362, 'n_tokens_neox': 331, 'n_words': 60}