<commit_before># Description
#   A hubot script that shows who has the longest github streak in your org
#
# Configuration:
#   LIST_OF_ENV_VARS_TO_SET
#   HUBOT_ORG_ACCESS_TOKEN
#
# Commands:
#   streak ladder - <Gets a list of the longest github commit streaks in your org>
#
# Notes:
#   An access token is required by the github api to access a private org's members
#   so an account that is a member of the private org is required.
#
# Author:
#   <NAME> <<EMAIL>>
#   <NAME> <>

module.exports = (robot) ->

  robot.hear /streak ladder/i, (res) ->
    access_token = process.env.HUBOT_ORG_ACCESS_TOKEN
    unless access_token?
      res.send "Missing ORG_ACCESS_TOKEN in environment: please set and try again"
      return
    res.send "Found the access token in the environment! #{acces_token}"
<commit_msg>Read an env var and print it<commit_after># Description
#   A hubot script that shows who has the longest github streak in your org
#
# Configuration:
#   LIST_OF_ENV_VARS_TO_SET
#   HUBOT_ORG_ACCESS_TOKEN
#
# Commands:
#   streak ladder - <Gets a list of the longest github commit streaks in your org>
#
# Notes:
#   An access token is required by the github api to access a private org's members
#   so an account that is a member of the private org is required.
#
# Author:
#   <NAME> <<EMAIL>>
#   <NAME> <>

module.exports = (robot) ->

  robot.hear /streak ladder/i, (res) ->
    access_token = process.env.HUBOT_ORG_ACCESS_TOKEN
    unless access_token?
      res.send "Missing ORG_ACCESS_TOKEN in environment: please set and try again"
      return
    res.send "Found the access token in the environment! #{access_token}"

{'fraction_non_alphanumeric': 0.08262454434993925, 'fraction_numerical': 0.0, 'mean_word_length': 3.6134453781512605, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, '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': '7524380', 'n_tokens_mistral': 534, 'n_tokens_neox': 529, 'n_words': 200}