<commit_before>module Contactify
  module Concerns
    module Controllers
      module Contacts
        extend ActiveSupport::Concern
	    
	    included do	 
	    	layout ENV['CONTACTIFY_ADMIN_LAYOUT']
	    end

	    def index
	      @contacts = Contact.order("id DESC")
	  
	      respond_to do |format|
	        format.html # index.html.erb
	        format.json { render json: @contacts }
	      end
	    end
	  
	    # GET /contacts/1
	    # GET /contacts/1.json
	    def show
	      @contact = Contact.find(params[:id])
	  <commit_msg>Concerns for contacts controller - fix<commit_after>module Contactify
  module Concerns
    module Controllers
      module ContactsController
        extend ActiveSupport::Concern
	    
	    included do	 
	    	layout ENV['CONTACTIFY_ADMIN_LAYOUT']
	    end

	    def index
	      @contacts = Contact.order("id DESC")
	  
	      respond_to do |format|
	        format.html # index.html.erb
	        format.json { render json: @contacts }
	      end
	    end
	  
	    # GET /contacts/1
	    # GET /contacts/1.json
	    def show
	      @contact = Contact.find(params[:id])
	  
{'fraction_non_alphanumeric': 0.07623318385650224, 'fraction_numerical': 0.003587443946188341, 'mean_word_length': 1.976, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4261841', 'n_tokens_mistral': 382, 'n_tokens_neox': 338, 'n_words': 82}