<commit_before>#!/bin/bash

remote=`git remote -v | awk '/\(push\)$/ {print $2}'`
email=<EMAIL> # default

if [[ $remote == *enr.visualstudio.com* ]]; then
  email=<EMAIL>
fi
if [[ $remote == *itsananderson.visualstudio.com* ]]; then
  email=<EMAIL>
fi

echo "Configuring user.email as $email"
git config user.email $email<commit_msg>Update email-guess script with settings for Microsoft on GitHub<commit_after>#!/bin/bash

remote=`git remote -v | awk '/\(push\)$/ {print $2}'`
email=<EMAIL> # default

if [[ $remote == *github.com:Microsoft* ]]; then
  email=<EMAIL>
fi
if [[ $remote == *enr.visualstudio.com* ]]; then
  email=<EMAIL>
fi
if [[ $remote == *itsananderson.visualstudio.com* ]]; then
  email=<EMAIL>
fi

echo "Configuring user.email as $email"
git config user.email $email
{'fraction_non_alphanumeric': 0.183206106870229, 'fraction_numerical': 0.002544529262086514, 'mean_word_length': 4.702898550724638, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '4810506', 'n_tokens_mistral': 303, 'n_tokens_neox': 291, 'n_words': 75}