<commit_before>class IdeasController < ApplicationController

  # GET /ideas/new
  def new
    @idea = Idea.new
  end

  # POST /ideas
  def create
    render :nothing => true
    @idea = Idea.new(idea_params)
  end

  # GET /ideas/1
  def show
    @idea = Idea.find(params[:id])
  end

  def index
    if params[:page_size]<commit_msg>Response format for ideas#show.<commit_after>class IdeasController < ApplicationController

  # GET /ideas/new
  def new
    @idea = Idea.new
  end

  # POST /ideas
  def create
    render :nothing => true
    @idea = Idea.new(idea_params)
  end

  # GET /ideas/1
  def show
    @idea = Idea.find(params[:id])

    respond_to do |format|
      format.html
    end
  end

  def index
    if params[:page_size]
{'fraction_non_alphanumeric': 0.09811827956989247, 'fraction_numerical': 0.002688172043010753, 'mean_word_length': 2.616504854368932, 'pattern_counts': {'":': 0, '<': 5, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2118832', 'n_tokens_mistral': 271, 'n_tokens_neox': 255, 'n_words': 69}