<commit_before>module Heelspec
  class GroupMembers < Heel::Bot

    attr_reader :groups

    def initialize
      @bot_name = "Mail Group Manager"
      @bot_version = "1.0.0"

      @groups = {
        "dev" => {
          :description => "Development Integration Group",
          :members => ["zhangwanlong", "cuishichao", "yunting", "miaodongdong", "dengxi", "hanpeng03", "hezhipeng"],
          :managers => ["luhua01", "hejian01"]
        },
        "bravo" => {
          :description => "Bravo Team",
          :members => ["zhangwanlong", "cuishichao", "yunting", "miaodongdong", "dengxi"],
          :managers => ["luhua01"]
        }
      }
    end

    def run(cmd)
      if cmd.length == 0
        puts "Error: Nil group name"
        return
      end

      if cmd[0] == "all"
        print_all_groups
        puts ""
        return
      elsif cmd[0] == "list"
        list_group
        return
      end

      group_info = get_group cmd[0]<commit_msg>Add 2 new groups<commit_after>module Heelspec
  class GroupMembers < Heel::Bot

    attr_reader :groups

    def initialize
      @bot_name = "Mail Group Manager"
      @bot_version = "1.0.0"

      @groups = {
        "dev" => {
          :description => "Development Integration Group",
          :members => ["zhangwanlong", "cuishichao", "yunting", "miaodongdong", "dengxi", "hanpeng03", "hezhipeng"],
          :managers => ["luhua01", "hejian01"]
        },
        "bravo" => {
          :description => "Bravo Team",
          :members => ["zhangwanlong", "cuishichao", "yunting", "miaodongdong", "dengxi"],
          :managers => ["luhua01"]
        },
        "tech_core" => {
          :description => "MSBU Tech Core",
          :members => ["zhangwanlong", "dengxi", "hanpeng03", "wanghuaiqing"],
          :managers => ["luhua01", "hejian01"]
        },
        "tech" => {
          :description => "MSBU Tech",
          :members => ["zhangwanlong", "dengxi", "hanpeng03", "wanghuaiqing", "liurenfei", "wuyan08", "hezhipeng", "hejie03", "yanglong01"],
          :managers => ["luhua01", "hejian01"]
        }
      }
    end

    def run(cmd)
      if cmd.length == 0
        puts "Error: Nil group name"
        return
      end

      if cmd[0] == "all"
        print_all_groups
        puts ""
        return
      elsif cmd[0] == "list"
        list_group
        return
      end

      group_info = get_group cmd[0]
{'fraction_non_alphanumeric': 0.15081013710012464, 'fraction_numerical': 0.02035729123390112, 'mean_word_length': 2.0251256281407035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7428450', 'n_tokens_mistral': 842, 'n_tokens_neox': 792, 'n_words': 176}