<commit_before>_ks-calc-processing( current-property, operation, fallback )
    prop = current-property[ 0 ]
    if fallback
        add-property( prop, fallback )
    for prefix in caniuse-prefixes( "calc" )
        add-property( prop, unquote( "-" + prefix + "-calc(" + operation + ")" ) )
    unquote( "calc(" + operation + ")" )

ks-calc( operation, fallback = false )
    if current-property
        _ks-calc-processing( current-property, operation, fallback )
    else
        error( "ks-calc() must be used within a property" )

unless ks-no-conflict
    calc( operation, fallback = false )
        if current-property
            _ks-calc-processing( current-property, operation, fallback )
        else
            error( "calc() must be used within a property" )
<commit_msg>Refactor calc mixin<commit_after>_ks-calc-processing( current-property, operation, fallback )
    prop = current-property[ 0 ]
    operation = unquote( operation )
    if fallback
        add-property( prop, fallback )
    for prefix in caniuse-prefixes( "calc" )
        add-property( prop, s( "-%s-calc(%s)", unquote( prefix ), operation ) )
    s( "calc(%s)", operation )

ks-calc( operation, fallback = false )
    if current-property
        _ks-calc-processing( current-property, operation, fallback )
    else
        error( "ks-calc() must be used within a property" )

unless ks-no-conflict
    calc( operation, fallback = false )
        if current-property
            _ks-calc-processing( current-property, operation, fallback )
        else
            error( "calc() must be used within a property" )

{'fraction_non_alphanumeric': 0.115625, 'fraction_numerical': 0.00125, 'mean_word_length': 2.697459584295612, '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': '4989407', 'n_tokens_mistral': 469, 'n_tokens_neox': 464, 'n_words': 138}