<commit_before>mixin item(key, value)
    tr
        td.text-right: strong= key
        td= value

.container
    if _.isUndefined(node)
        em (Selection is empty)
    else
        nav
            ul.pagination
                li.disabled.prev
                    a(aria-label="Previous").virtual-link.prev
                        span(aria-hidden="true") &laquo;
                li.disabled.next
                    a(aria-label="Next").virtual-link.next
                        span(aria-hidden="true") &raquo;
        .container
            .row
                .col-md-1
                    table.table.table-striped.table-bordered
                        +item("key", node.key)
                        for prop in _.filter(_.keys(node), _.negate(_.partial(_.contains, ["key", "root", "index", "x", "y", "variable", "bounds", "fixed", "px", "py"])))
                            +item(prop, node[prop])
            .row
                .col-md-1
                    button(type="button").btn.btn-danger.btn-sm.remove Remove #[span.glyphicon.glyphicon-remove]
                .col-md-1
                    button(type="button").btn.btn-primary.btn-sm.expand Expand #[span.glyphicon.glyphicon-fullscreen]
<commit_msg>Use extra-small buttons<commit_after>mixin item(key, value)
    tr
        td.text-right: strong= key
        td= value

.container
    if _.isUndefined(node)
        em (Selection is empty)
    else
        nav
            ul.pagination
                li.disabled.prev
                    a(aria-label="Previous").virtual-link.prev
                        span(aria-hidden="true") &laquo;
                li.disabled.next
                    a(aria-label="Next").virtual-link.next
                        span(aria-hidden="true") &raquo;
        .container
            .row
                .col-md-1
                    table.table.table-striped.table-bordered
                        +item("key", node.key)
                        for prop in _.filter(_.keys(node), _.negate(_.partial(_.contains, ["key", "root", "index", "x", "y", "variable", "bounds", "fixed", "px", "py"])))
                            +item(prop, node[prop])
            .row
                .col-md-1
                    button(type="button").btn.btn-danger.btn-xs.remove Remove #[span.glyphicon.glyphicon-remove]
                .col-md-1
                    button(type="button").btn.btn-primary.btn-xs.expand Expand #[span.glyphicon.glyphicon-fullscreen]

{'fraction_non_alphanumeric': 0.13558631921824105, 'fraction_numerical': 0.0024429967426710096, 'mean_word_length': 1.390077821011673, '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': '3088198', 'n_tokens_mistral': 715, 'n_tokens_neox': 676, 'n_words': 120}