<commit_before>class ApplicationUninstallsController < ApplicationController

  include Engines::Api


  def show
    @application_uninstall = ApplicationUninstall.new application_name: params[:application_name]
  end

  def create
    @application_uninstall = ApplicationUninstall.new application_uninstall_params
    if @application_uninstall.uninstall
p :redirect_to_control_panel      
      redirect_to control_panel_path, notice: "Successfully uninstalled #{@application_uninstall.application_name}."
    else
      msg = @application_uninstall.engines_api_error
      redirect_to control_panel_path, alert: "Unable to uninstall #{@application_uninstall.application_name}. " + ( msg.present? ? msg : "No api result." )
    end<commit_msg>rename methods<commit_after>class ApplicationUninstallsController < ApplicationController

  include Engines::Api


  def show
    @application_uninstall = ApplicationUninstall.new application_name: params[:application_name]
  end

  def create
    @application_uninstall = ApplicationUninstall.new application_uninstall_params
    if @application_uninstall.uninstall
      redirect_to control_panel_path, notice: "Successfully uninstalled #{@application_uninstall.application_name}."
    else
      msg = @application_uninstall.engines_api_error
      redirect_to control_panel_path, alert: "Unable to uninstall #{@application_uninstall.application_name}. " + ( msg.present? ? msg : "No api result." )
    end
{'fraction_non_alphanumeric': 0.07083906464924347, 'fraction_numerical': 0.0, 'mean_word_length': 5.326086956521739, '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': '5995401', 'n_tokens_mistral': 393, 'n_tokens_neox': 383, 'n_words': 84}