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

# This file automatically deploys changes to http://docs.sympy.org/dev/index.html.
# This will happen only when a PR gets merged which is basically when a new commit
# is added to master.
# It requires an access token which should be present in .travis.yml file.
#
# Following is the procedure to get the access token:
#
# $ curl -X POST -u <github_username> -H "Content-Type: application/json" -d\
# "{\"scopes\":[\"public_repo\"],\"note\":\"token for pushing from travis\"}"\
# https://api.github.com/authorizations
#
# It'll give you a JSON response having a key called "token".<commit_msg>Update command used to generate secure token for Travis<commit_after>#! /usr/bin/env bash

# This file automatically deploys changes to http://docs.sympy.org/dev/index.html.
# This will happen only when a PR gets merged which is basically when a new commit
# is added to master.
# It requires an access token which should be present in .travis.yml file.
#
# Following is the procedure to get the access token:
#
# $ curl -X POST -u <github_username> -H "Content-Type: application/json" -H "X-GitHub-OTP: 2FA_TOKEN" -d  "{\"scopes\":[\"public_repo\"],\"note\":\"token for pushing from Travis for SymPy\"}" https://api.github.com/authorizations
#
# Replace 2FA_TOKEN with your two-factor token generated by SMS or the
# application.
#
# It'll give you a JSON response having a key called "token".
{'fraction_non_alphanumeric': 0.12148876404494383, 'fraction_numerical': 0.0014044943820224719, 'mean_word_length': 4.0, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, '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': '3345644', 'n_tokens_mistral': 439, 'n_tokens_neox': 426, 'n_words': 178}