<commit_before>#!/usr/bin/env python3
# coding: utf-8
# Run this in the latest version of Python. I tested with 3.7.

# Author: <NAME>
# Released under Apache license 2.0.

# This script calculates take-home pay for a given CTC, for both an employee and a consultant.
#
# Assumptions:
#  1) GST comes out of your pocket — you can't pass the GST along by grossing it up.
#  2) This is for fiscal year 2018-19.
#  3) You're a resident individual of India, not a company.
#  4) You're not a senior citizen.
#  5) Numbers are annual, and in thousands of rupees, except when stated otherwise. Take-home pay
#     is always monthly.
#  6) This script doesn't take into account the cost in your time of dealing with the bureaucratic
#     GST regime, or the cost of hiring a CA to do so.
#  7) GST paid can't be set off against something else.
#  8) HRA and LTA are ignored.
#
# Reference: https://www.bankbazaar.com/tax/income-tax-slabs.html


import math

# 25.61% of CTC goes to PF and pension. See
# https://www.bankbazaar.com/saving-schemes/guide-to-understanding-the-employee-pension-scheme.html
#<commit_msg>Update mention to say that it's valid for FY 2019-20<commit_after>#!/usr/bin/env python3
# coding: utf-8
# Run this in the latest version of Python. I tested with 3.7.

# Author: <NAME>
# Released under Apache license 2.0.

# This script calculates take-home pay for a given CTC, for both an employee and a consultant.
#
# Assumptions:
#  1) GST comes out of your pocket — you can't pass the GST along by grossing it up.
#  2) This is for fiscal year 2019-20.
#  3) You're a resident individual of India, not a company.
#  4) You're not a senior citizen.
#  5) Numbers are annual, and in thousands of rupees, except when stated otherwise. Take-home pay
#     is always monthly.
#  6) This script doesn't take into account the cost in your time of dealing with the bureaucratic
#     GST regime, or the cost of hiring a CA to do so.
#  7) GST paid can't be set off against something else.
#  8) HRA and LTA are ignored.
#
# Reference: https://www.bankbazaar.com/tax/income-tax-slabs.html


import math

# 25.61% of CTC goes to PF and pension. See
# https://www.bankbazaar.com/saving-schemes/guide-to-understanding-the-employee-pension-scheme.html
#
{'fraction_non_alphanumeric': 0.09135254988913526, 'fraction_numerical': 0.02394678492239468, 'mean_word_length': 3.4673267326732673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '25337', 'n_tokens_mistral': 774, 'n_tokens_neox': 706, 'n_words': 325}