<commit_before>class HomeController < ApplicationController
  def index
  end

  def groups_list
    @groups = Group.find_groups_in_sisyphus
  end

end<commit_msg>add bygroup action to home controller<commit_after>class HomeController < ApplicationController
  def index
  end

  def groups_list
    @groups = Group.find_groups_in_sisyphus
  end

  def bygroup
    @group = params[:group]
    @group = @group + '/' + params[:group2] if !params[:group2].nil?
    @group = @group + '/' + params[:group3] if !params[:group3].nil?

    @srpms = Srpm.all :conditions => {
                        :group => @group,
                        :branch => 'Sisyphus',
                        :vendor => 'ALT Linux' }
  end

end
{'fraction_non_alphanumeric': 0.1076923076923077, 'fraction_numerical': 0.005594405594405594, 'mean_word_length': 2.5445544554455446, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5088797', 'n_tokens_mistral': 226, 'n_tokens_neox': 217, 'n_words': 53}