<commit_before>#!/usr/bin/env bash

work_dir="$(pwd)"
tools_dir="$(cd "$(dirname "$0")" && pwd)"
tweet_sh="$tools_dir/tweet.sh/tweet.sh"

source "$tweet_sh"
load_keys

echo "FOLLOWED" 1>&2
while read event
do
  screen_name="$(echo "$event" | jq -r .source.screen_name)"
  echo "by $screen_name"
  "$tweet_sh" follow $screen_name
done<commit_msg>Output more debug message<commit_after>#!/usr/bin/env bash

work_dir="$(pwd)"
tools_dir="$(cd "$(dirname "$0")" && pwd)"
tweet_sh="$tools_dir/tweet.sh/tweet.sh"

source "$tweet_sh"
load_keys

echo "FOLLOWED" 1>&2
while read event
do
  screen_name="$(echo "$event" | jq -r .source.screen_name)"
  echo "by $screen_name" 1>&2
  echo "follow back $screen_name" 1>&2
  "$tweet_sh" follow $screen_name
done
{'fraction_non_alphanumeric': 0.1836461126005362, 'fraction_numerical': 0.013404825737265416, 'mean_word_length': 5.669642857142857, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7439040', 'n_tokens_mistral': 315, 'n_tokens_neox': 298, 'n_words': 68}