<commit_before><template>
    <ux-dialog class="ui modal active">
        <div class="header">${data.run}: ${data.task}</div>
        <ux-dialog-body>
            <div class="content">
                <div class="ui grid">
                    <div class="four wide column">
                        <h4 class="ui dividing header">Inputs</h4>
                        <div class="ui blue labels">
                            <div class="ui label"
                                 repeat.for="input of data.data.product_input_amounts">
                                ${input.name}
                                <div class="detail">
                                    ${input.amount}${input.measure}
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="eight wide column">
                        <h4 class="ui dividing header">Steps</h4>
                        <div class="ui violet segment custom step field"
                             repeat.for="step of data.data.step_fields">
                            <h5 class="ui header">${step.label}</h5>
                            <p class="maintain-breaks">${step.description}</p>
                            <div class="ui four column wide grid"
                                 if.bind="step.properties.length > 0">
                                <div class="column" repeat.for="prop of step.properties">
                                    <p>${prop.label}</p>
                                    <div class="ui fluid right labeled input read only">
                                        <input value.bind="prop.amount" disabled>
                                        <div class="ui label">${prop.measure}</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <h4 class="ui dividing header">Variables</h4>
                        <div repeat.for="variable of data.data.variable_fields">
                            <p>${variable.label}</p>
                            <div class="ui fluid right labeled input read only">
                                <input value.bind="variable.amount" disabled>
                                <div class="ui label">${variable.measure}</div>
                            </div>
                        </div>
                        <h4 class="ui dividing header">Calculations</h4>
                        <div repeat.for="calculation of data.data.calculation_fields">
                            <p>${calculation.label}</p>
                            <pre class="ui segment">
                                ${calculation.calculation}
                            </pre>
                        </div>
                    </div>
                    <div class="four wide column">
                        <h4 class="ui dividing header">Outputs</h4>
                        <div class="ui orange labels">
                            <div class="ui label"
                                 repeat.for="output of data.data.output_fields">
                                ${output.label}
                                <div class="detail">
                                    ${output.amount}${output.measure}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ux-dialog-body>
        <ux-dialog-footer class="actions">
            <button class="ui ok button"
                    click.trigger="dialog.ok(selected)">Done</button>
        </ux-dialog-footer>
    </ux-dialog>
</template><commit_msg>Fix display of history information on project<commit_after><template>
    <ux-dialog class="ui modal active">
        <div class="header">${data.run}: ${data.task}</div>
        <ux-dialog-body>
            <div class="content">
                <div class="ui grid">
                    <div class="four wide column">
                        <h4 class="ui dividing header">Inputs</h4>
                        <div class="ui blue labels">
                            <div if.bind="data.data.product_input_amounts.length == 0">
                                <i>No inputs for this task</i>
                            </div>
                            <div class="ui label"
                                 repeat.for="input of data.data.product_input_amounts">
                                ${input.name}
                                <div class="detail">
                                    ${input.amount}${input.measure}
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="eight wide column">
                        <h4 class="ui dividing header">Steps</h4>
                        <div class="ui violet segment custom step field"
                             repeat.for="step of data.data.step_fields">
                            <h5 class="ui header">${step.label}</h5>
                            <p class="maintain-breaks">${step.description}</p>
                            <div class="ui four column wide grid"
                                 if.bind="step.properties.length > 0">
                                <div class="column" repeat.for="prop of step.properties">
                                    <p>${prop.label}</p>
                                    <div class="ui fluid
                                                ${!prop.measure_not_required ? 'right labeled' : ''}
                                                input read only">
                                        <input value.bind="prop.amount" disabled>
                                        <div class="ui label" if.bind="!prop.measure_not_required">
                                            ${prop.measure}</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <h4 class="ui dividing header"
                            if.bind="data.data.variable_fields.length > 0">Variables</h4>
                        <div class="ui grid">
                            <div repeat.for="variable of data.data.variable_fields"
                                 class="row">
                                <div class="eight wide column">${variable.label}</div>
                                <div class="eight wide column">
                                    <div class="ui fluid
                                                ${!variable.measure_not_required ? 'right labeled' : ''}
                                                input read only">
                                        <input value.bind="variable.amount" disabled>
                                        <div class="ui label"
                                             if.bind="!variable.measure_not_required">
                                            ${variable.measure}</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <h4 class="ui dividing header"
                            if.bind="data.data.calculation_fields.length > 0">Calculations</h4>
                        <div class="ui brown segment"
                             repeat.for="calculation of data.data.calculation_fields">
                            <h5 class="ui header">${calculation.label}</h5>
                            <pre>
                                ${calculation.calculation}
                            </pre>
                        </div>
                    </div>
                    <div class="four wide column">
                        <h4 class="ui dividing header">Outputs</h4>
                        <div if.bind="data.data.output_fields.length == 0">
                            <i>No outputs for this task</i>
                        </div>
                        <div class="ui orange labels">
                            <div class="ui label"
                                 repeat.for="output of data.data.output_fields">
                                ${output.label}
                                <div class="detail">
                                    ${output.amount}${output.measure}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ux-dialog-body>
        <ux-dialog-footer class="actions">
            <button class="ui ok button"
                    click.trigger="dialog.ok(selected)">Done</button>
        </ux-dialog-footer>
    </ux-dialog>
</template>
{'fraction_non_alphanumeric': 0.10646430578976954, 'fraction_numerical': 0.0035975267003934795, 'mean_word_length': 0.8236982369823698, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 45, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6179869', 'n_tokens_mistral': 1950, 'n_tokens_neox': 1832, 'n_words': 399}