<commit_before>class Skr.Components.TotalsLine extends Lanes.React.Component

    propTypes:
        model: Lanes.PropTypes.Model.isRequired
        attribute: React.PropTypes.string
        label: React.PropTypes.string

    getDefaultProps: ->
        attribute: 'total', label: 'Total:'

    render: ->
        <BS.Row className='totals'>
            <BS.Col lg=11 sm=10 xs=9 className="text-right">
                <h4>{@props.label}</h4>
            </BS.Col>
            <BS.Col lg=1 sm=2 xs=3 className="total">
                <h4>
                    <Skr.Components.Currency amount={@model[@props.attribute]} />
                </h4>
            </BS.Col>
        </BS.Row><commit_msg>render extra info if provided<commit_after>class Skr.Components.TotalsLine extends Lanes.React.Component

    propTypes:
        model: Lanes.PropTypes.Model.isRequired
        attribute: React.PropTypes.string
        label: React.PropTypes.string


    getDefaultProps: ->
        attribute: 'total', label: 'Total:'

    render: ->
        <BS.Row className='totals'>
            <BS.Col lg=10 sm=9 xs=8 className="text-right">
                {@props.extraInfo}
            </BS.Col>
            <BS.Col xs=1 className="text-right">
                <h4>{@props.label}</h4>
            </BS.Col>
            <BS.Col lg=1 sm=2 xs=3 className="total">
                <h4>
                    <Skr.Components.Currency amount={@model[@props.attribute]} />
                </h4>
            </BS.Col>
        </BS.Row>
{'fraction_non_alphanumeric': 0.13756613756613756, 'fraction_numerical': 0.015873015873015872, 'mean_word_length': 1.7409420289855073, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 31, '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': '7304006', 'n_tokens_mistral': 470, 'n_tokens_neox': 450, 'n_words': 82}