<commit_before>class ArticlesController < ApplicationController
	def create
		@article = Article.new(article_url)

		if @article.save
			ArticleMailer.article_email(@article.articleUrl).deliver_now
			session = GoogleDrive::Session.from_config("config.json")
			ws = session.spreadsheet_by_key("<KEY>").worksheets[0]
			ws.reload
			ws[(ws.rows.length + 1), 1] = @article.articleUrl
			ws[(ws.rows.length), 2] = 'process'
			ws.save
			render json: @article
		else
			render json: @article.errors, status: :unprocessable_entity
		end
	end

	def index
		@articles = Article.all()
		if params[:orderFilta]
			puts params[:order]
		else
			puts 'no order'
		end
	end

	private
	def article_url
		params.require(:article).permit(:articleUrl, :status)
	end

	private
	def order_filta
		params.require(:orderFilta).permit(:order, :filta)
	end
end<commit_msg>how do i access youuuu<commit_after>class ArticlesController < ApplicationController
	def create
		@article = Article.new(article_url)

		if @article.save
			ArticleMailer.article_email(@article.articleUrl).deliver_now
			session = GoogleDrive::Session.from_config("config.json")
			ws = session.spreadsheet_by_key("<KEY>").worksheets[0]
			ws.reload
			ws[(ws.rows.length + 1), 1] = @article.articleUrl
			ws[(ws.rows.length), 2] = 'process'
			ws.save
			render json: @article
		else
			render json: @article.errors, status: :unprocessable_entity
		end
	end

	def index
		@articles = Article.all()
		if params[:orderFilta]
			puts :order
		else
			puts 'no order'
		end
	end

	private
	def article_url
		params.require(:article).permit(:articleUrl, :status)
	end

	private
	def order_filta
		params.require(:orderFilta).permit(:order, :filta)
	end
end
{'fraction_non_alphanumeric': 0.11730205278592376, 'fraction_numerical': 0.00469208211143695, 'mean_word_length': 4.347962382445141, 'pattern_counts': {'":': 0, '<': 7, '<?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': '114979', 'n_tokens_mistral': 665, 'n_tokens_neox': 574, 'n_words': 125}