<commit_before>class SupportsController < ApplicationController

  expose_decorated(:topic) { Topic.find(params[:topic_id]) }
  expose_decorated(:support) { Support.find(params[:id]) }
  expose_decorated(:comments) { support.comments.includes(:user) }

  def create
    need_support = AskForSupport.new(current_user.object, topic, support_params)
    need_support.commence!
    redirect_to topics_path, notice: "We asked #{need_support.supporter} to help you."
  end

  def skip
    skip_service = SkipSupport.new support<commit_msg>order comments by created_at timestamp<commit_after>class SupportsController < ApplicationController

  expose_decorated(:topic) { Topic.find(params[:topic_id]) }
  expose_decorated(:support) { Support.find(params[:id]) }
  expose_decorated(:comments) { support.comments.includes(:user).order('created_at ASC') }

  def create
    need_support = AskForSupport.new(current_user.object, topic, support_params)
    need_support.commence!
    redirect_to topics_path, notice: "We asked #{need_support.supporter} to help you."
  end

  def skip
    skip_service = SkipSupport.new support
{'fraction_non_alphanumeric': 0.10493273542600896, 'fraction_numerical': 0.0, 'mean_word_length': 5.682634730538922, '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': '6872698', 'n_tokens_mistral': 333, 'n_tokens_neox': 331, 'n_words': 66}