<commit_before><?php

namespace Drafton\Libs;

/**
 * Class Bankcard
 * Tools for bank cards
 * @package Drafton\Libs
 */
class Bankcard
{
    const TYPE_AMEX = 'amex';
    const TYPE_MAESTRO = 'maestro';
    const TYPE_MASTERCARD = 'mastercard';
    const TYPE_VISA = 'visa';
    const TYPE_UNIONPAY = 'unionpay';
    // todo: other card types https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_.28IIN.29
//    const TYPE_DINERS_CARTE_BLANCHE = 'diners carte blanche';
//    const TYPE_DINERS_INTERNATIONAL = 'diners international';
//    const TYPE_DINERS_AMERICA = 'diners us and canada';
//    const TYPE_DISCOVER = 'discover';
//    const TYPE_INTERPAYMENT = 'interpayment';
//    const TYPE_INSTAPAYMENT = 'instapayment';
//    const TYPE_JCB = 'jcb';
//    const TYPE_NSPK_MIR = 'npsk mir';
//    const TYPE_UATP = 'uatp';
//    const TYPE_VERVE = 'verve';
//    const TYPE_CARDGUARD = 'cardguard';

    /**<commit_msg>Bankcard typo fix<commit_after><?php

namespace Difra\Libs;

/**
 * Class Bankcard
 * Tools for bank cards
 * @package Drafton\Libs
 */
class Bankcard
{
    const TYPE_AMEX = 'amex';
    const TYPE_MAESTRO = 'maestro';
    const TYPE_MASTERCARD = 'mastercard';
    const TYPE_VISA = 'visa';
    const TYPE_UNIONPAY = 'unionpay';
    // todo: other card types https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_.28IIN.29
//    const TYPE_DINERS_CARTE_BLANCHE = 'diners carte blanche';
//    const TYPE_DINERS_INTERNATIONAL = 'diners international';
//    const TYPE_DINERS_AMERICA = 'diners us and canada';
//    const TYPE_DISCOVER = 'discover';
//    const TYPE_INTERPAYMENT = 'interpayment';
//    const TYPE_INSTAPAYMENT = 'instapayment';
//    const TYPE_JCB = 'jcb';
//    const TYPE_NSPK_MIR = 'npsk mir';
//    const TYPE_UATP = 'uatp';
//    const TYPE_VERVE = 'verve';
//    const TYPE_CARDGUARD = 'cardguard';

    /**
{'fraction_non_alphanumeric': 0.1256544502617801, 'fraction_numerical': 0.004188481675392671, 'mean_word_length': 3.4754098360655736, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5290704', 'n_tokens_mistral': 711, 'n_tokens_neox': 693, 'n_words': 148}