<commit_before>
from decimal import Decimal
from address import account_from_human
from utils import *

#-------------------------------------------------------------------------------

FIELD_MAP = {
	'Account':			(8, 1),
	'Amount':			(6, 1),
	'ClearFlag':		(2, 34),
	'Destination':		(8, 3),
	'DestinationTag':	(2, 14),
	'Fee':				(6, 8),
	'Flags':			(2, 2),
	'InflationDest':	(8, 9),				#stellar
	'LimitAmount':		(6, 3),
	'OfferSequence':	(2, 25),
	'Paths':			(18, 1),
	'RegularKey':		(8, 8),
	'SendMax':			(6, 9),
	'Sequence':			(2, 4),
	'SetAuthKey':		(8, 10),			#stellar
	'SetFlag':			(2, 33),
	'SigningPubKey':	(7, 3),
	'SourceTag':		(2, 2),
	'TakerGets':		(6, 5),
	'TakerPays':		(6, 4),
	'TransactionType':	(1, 2),
	'TransferRate':		(2, 11),
	'TxnSignature':		(7, 4),
}

TRANSACTION_TYPES = {
	'AccountMerge':		4,					#stellar
	'AccountSet':		3,
	'OfferCancel':		8,
	'OfferCreate':		7,
	'Payment': 			0,
	'SetRegularKey':	5,
	'TrustSet':			20
}

#-------------------------------------------------------------------------------<commit_msg>- Fixed a typo in the field types<commit_after>
from decimal import Decimal
from address import account_from_human
from utils import *

#-------------------------------------------------------------------------------

FIELD_MAP = {
	'Account':			(8, 1),
	'Amount':			(6, 1),
	'ClearFlag':		(2, 34),
	'Destination':		(8, 3),
	'DestinationTag':	(2, 14),
	'Fee':				(6, 8),
	'Flags':			(2, 2),
	'InflationDest':	(8, 9),				#stellar
	'LimitAmount':		(6, 3),
	'OfferSequence':	(2, 25),
	'Paths':			(18, 1),
	'RegularKey':		(8, 8),
	'SendMax':			(6, 9),
	'Sequence':			(2, 4),
	'SetAuthKey':		(8, 10),			#stellar
	'SetFlag':			(2, 33),
	'SigningPubKey':	(7, 3),
	'SourceTag':		(2, 3),
	'TakerGets':		(6, 5),
	'TakerPays':		(6, 4),
	'TransactionType':	(1, 2),
	'TransferRate':		(2, 11),
	'TxnSignature':		(7, 4),
}

TRANSACTION_TYPES = {
	'AccountMerge':		4,					#stellar
	'AccountSet':		3,
	'OfferCancel':		8,
	'OfferCreate':		7,
	'Payment': 			0,
	'SetRegularKey':	5,
	'TrustSet':			20
}

#-------------------------------------------------------------------------------
{'fraction_non_alphanumeric': 0.34297912713472484, 'fraction_numerical': 0.05787476280834915, 'mean_word_length': 2.017167381974249, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1737745', 'n_tokens_mistral': 996, 'n_tokens_neox': 891, 'n_words': 207}