<commit_before>class Person
  module Groupy
    def sidebar_groups
      @sidebar_groups ||= Setting.get(:features, :sidebar_group_category) && \
        groups.find_all_by_category(Setting.get(:features, :sidebar_group_category))
    end

    def sidebar_group_people(limit=nil)
      if sidebar_groups.any?
        Person.all(<commit_msg>Fix bug getting sidebar groupies when no group category is specified.<commit_after>class Person
  module Groupy
    def sidebar_groups
      @sidebar_groups ||= Setting.get(:features, :sidebar_group_category) && \
        groups.find_all_by_category(Setting.get(:features, :sidebar_group_category))
    end

    def sidebar_group_people(limit=nil)
      if sidebar_groups.to_a.any?
        Person.all(
{'fraction_non_alphanumeric': 0.08906882591093117, 'fraction_numerical': 0.0, 'mean_word_length': 3.9798657718120807, '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': '4596312', 'n_tokens_mistral': 225, 'n_tokens_neox': 214, 'n_words': 43}