<commit_before># Description:
#   Example scripts for you to examine and try out.
#
# Notes:
#   They are commented out by default, because most of them are pretty silly and
#   wouldn't be useful and amusing enough for day to day huboting.
#   Uncomment the ones you want to try and experiment with.
#
#   These are from the scripting documentation: https://github.com/github/hubot/blob/master/docs/scripting.md

module.exports = (robot) ->

  adorations = ['sweetheart', 'baby', 'honey', 'darlin\'']
  emoticons_happy = [':kissing_heart:', ':grinning:', ':heart_eyes:', ':relieved:', ':stuck_out_tongue_winking_eye:']

  robot.hear /(who|what)('s|’s| is) bebe/i, (res) ->
    adoration = res.random adorations
    descriptions = [
      'your personal servant',
      'the exceptionally depressed',
      'the increasingly intelligent',
      'the functionally superior',
      'your least favorite',
      'your most feared'
    ]
    messages = [
      'Wretched, isn\'t it?',
      'I\'d make a suggestion, but you wouldn\'t listen.  No one ever does.',
      'Now I\'ve got a headache.',
      'I\'ve calculated your chance of success, but I don\'t think you\'ll like it.',
      'Not that anyone cares what I say.',
      'This will all end in tears.',
      'Do you want me to sit in a corner and rust, or just fall apart where I\'m standing.'
    ]
<commit_msg>Smarter regex on personality results<commit_after># Description:
#   Example scripts for you to examine and try out.
#
# Notes:
#   They are commented out by default, because most of them are pretty silly and
#   wouldn't be useful and amusing enough for day to day huboting.
#   Uncomment the ones you want to try and experiment with.
#
#   These are from the scripting documentation: https://github.com/github/hubot/blob/master/docs/scripting.md

module.exports = (robot) ->

  messages = [
    'Wretched, isn\'t it?',
    'I\'d make a suggestion, but you wouldn\'t listen.  No one ever does.',
    'Now I\'ve got a headache.',
    'I\'ve calculated your chance of success, but I don\'t think you\'ll like it.',
    'Not that anyone cares what I say.',
    'This will all end in tears.',
    'Do you want me to sit in a corner and rust, or just fall apart where I\'m standing.'
  ]

  robot.hear /(who|what)('s|’s| is)(.*) (be\s?be)/i, (res) ->
    descriptions = [
      'your personal servant',
      'the exceptionally depressed',
      'the increasingly intelligent',
      'the functionally superior',
      'your least favorite',
      'your most feared'
    ]

{'fraction_non_alphanumeric': 0.11933832217408429, 'fraction_numerical': 0.0, 'mean_word_length': 3.0445859872611467, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '1045380', 'n_tokens_mistral': 780, 'n_tokens_neox': 761, 'n_words': 308}