<commit_before>class DistillersController < ApplicationController
end
<commit_msg>set up Distiller controller skeleton<commit_after>class DistillersController < ApplicationController
  before_action :set_distiller!, except: [:create, :index, :new]


  def index
    @distillers = distiller.all
  end

  def show
  end

  def edit
  end

  def new
    @distiller = distiller.new
  end

  def create
    @distiller = distiller.new

  end


  def update
    @distiller.update(distiller_params)

    if @distiller.save
      redirect_to @distiller
    else
      reder :edit
    end
  end

  private

  def set_distiller!
    @distiller = distiller.find(params[:id])
  end

  def distiller_params
    params.require(:distiller).permit(:name)
  end




end

{'fraction_non_alphanumeric': 0.07047872340425532, 'fraction_numerical': 0.0, 'mean_word_length': 3.2542372881355934, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2125668', 'n_tokens_mistral': 253, 'n_tokens_neox': 234, 'n_words': 61}