<commit_before>class DocumentsController < ApplicationController
  before_action :set_document, only: [:show, :edit, :update, :destroy]

  # GET /documents
  # GET /documents.json
  def index
    # @doc_steps = Document.first.document_steps
    # @doc_step_requirements = ""
    # render json: @doc_steps
    @documents = Document.all
  end

  # GET /documents/1
  # GET /documents/1.json
  def show
  end
  # def all_doc_steps
  # 	@this_document=Document.find(params[:id])
  # 	#p @this_document
  # 	@document_all_steps = @this_document.document_steps
	 # render json: @document_all_steps
	

  # end
  
# GET /documents/new
  def new
    @document = Document.new<commit_msg>cleaned up commented out code<commit_after>class DocumentsController < ApplicationController
  before_action :set_document, only: [:show, :edit, :update, :destroy]

  # GET /documents
  # GET /documents.json
  def index
    @documents = Document.all
  end

  # GET /documents/1
  # GET /documents/1.json
  def show
  end
  
# GET /documents/new
  def new
    @document = Document.new
{'fraction_non_alphanumeric': 0.10283018867924529, 'fraction_numerical': 0.0037735849056603774, 'mean_word_length': 3.476793248945148, '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': '3431294', 'n_tokens_mistral': 366, 'n_tokens_neox': 344, 'n_words': 84}