<commit_before>gs( type = "fixed", cols = false, col-width = false, gut-width = false )
    if type == "fixed"
        cols = ks-grid-fixed-columns unless cols
        col-width = ks-grid-fixed-col-width unless col-width
        gut-width = ks-grid-fixed-gut-width unless gut-width
        ks-grid-config[ "columns" ] = cols
        ks-grid-config[ "column-width" ] = col-width
        ks-grid-config[ "gutter-width" ] = gut-width
        _total = ( col-width + gut-width ) * cols
        ks-grid-config[ "computed-total-width" ] = _total
        ks-grid-config[ "total-width" ] = _total
        if selector() != "&"
            width: ks-grid-config[ "total-width" ]
            margin 0 auto
            overflow hidden
    else
        error( "Unknown grid system type '" + type + "' !" )<commit_msg>Add fluid grid computing in gs mixin<commit_after>gs( type = "fixed", cols = false, col-width = false, gut-width = false )
    if type == "fixed"
        cols = ks-grid-fixed-columns unless cols
        col-width = ks-grid-fixed-col-width unless col-width
        gut-width = ks-grid-fixed-gut-width unless gut-width
        ks-grid-config[ "columns" ] = cols
        ks-grid-config[ "column-width" ] = col-width
        ks-grid-config[ "gutter-width" ] = gut-width
        _total = ( col-width + gut-width ) * cols
        ks-grid-config[ "computed-total-width" ] = _total
        ks-grid-config[ "total-width" ] = _total
    if type == "fluid"
        cols = ks-grid-fluid-columns unless cols
        ks-grid-config[ "columns" ] = cols
        if typeof( col-width ) == "unit"
            ks-grid-config[ "column-width" ] = unit( col-width, "%" )
            ks-grid-config[ "gutter-width" ] = unit( ( 100% - ( cols * col-width ) ) / cols, "%" )
        else if typeof( gut-width ) == "unit"
            ks-grid-config[ "gutter-width" ] = unit( gut-width, "%" )
            ks-grid-config[ "column-width" ] = unit( ( 100% - ( cols * gut-width ) ) / cols, "%" )
        else
            col-width = unit( ( 100 / cols * 0.9 ), "%" )
            ks-grid-config[ "column-width" ] = col-width
            ks-grid-config[ "gutter-width" ] = unit( ( 100% - ( cols * col-width ) ) / cols, "%" )
        ks-grid-config[ "computed-total-width" ] = 100%
        ks-grid-config[ "total-width" ] = 100%
    if selector() != "&"
        width: ks-grid-config[ "total-width" ]
        margin 0 auto
        overflow hidden
    if type != "fixed" && type != "fluid"
        error( "Unknown grid system type '" + type + "' !" )
{'fraction_non_alphanumeric': 0.1609697933227345, 'fraction_numerical': 0.008744038155802861, 'mean_word_length': 1.9964285714285714, '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': '2110733', 'n_tokens_mistral': 886, 'n_tokens_neox': 835, 'n_words': 193}