<commit_before>a.list-group-item(id=log.messageId)
    div(data-toggle="collapse" data-target="#" + log.messageId + " .listCollapse")
        div.list-group-item-heading.mouseOver
            span.badge.pull-right=moment(log.time).format("lll")
            h2.queue=log.role
        hr
        div.btn-toolbar
            if currentUrl === 'replays'
                button.modifyBtns.btn.btn-sm.btn-primary.retryButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex destination=log.destination connector=log.connector roleMessage=log.roleMessage role=log.role version=log.version)
                    span.glyphicon.glyphicon-repeat
                    |  Retry
                button.modifyBtns.btn.btn-sm.btn-primary.fixButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex role=log.role stepCount=log.stepCount)
                    span.glyphicon.glyphicon-ok
                    |  Fixed
                button.modifyBtns.btn.btn-sm.btn-success.changeStepButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex destination=log.destination connector=log.connector roleMessage=log.roleMessage role=log.role version=log.version stepCount=log.stepCount)
                    span.glyphicon.glyphicon-step-forward
                    |  Change Step
                button.modifyBtns.btn.btn-sm.btn-success.sendToButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex destination=log.destination connector=log.connector roleMessage=log.roleMessage role=log.role version=log.version sendType='role')
                    span.glyphicon.glyphicon-pencil
                    |  Change Role
                if log.connector === "ActiveMQConnector"
                    button.modifyBtns.btn.btn-sm.btn-success.sendToButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex destination=log.destination connector=log.connector text=log.text role=log.role version=log.version sendType='raw')
                        span.glyphicon.glyphicon-share-alt
                        |  Change Queue
                button.modifyBtns.btn.btn-sm.btn-info(onclick="window.location.href='log?id="+log.logId+"'" data-toggle="tooltip" title="Opens log in a shareable url")
                    span.glyphicon.glyphicon-link
                    |  Share Link
            img.toggle-arrow.pull-right(src='img/toggle_arrow.svg', data-toggle='tooltip', title='Arrow')
    div.collapse.listCollapse
        table.table
            tbody
                tr
                    th Connector
                    td #{log.connector}
                tr
                    th ID
                    td #{log.logId}
                tr
                    th DestinationType
                    td #{log.val["destination-type"] || "queue"}
                tr
                    th DestinationName<commit_msg>Disable "Change Role" for older log versions<commit_after>a.list-group-item(id=log.messageId)
    div(data-toggle="collapse" data-target="#" + log.messageId + " .listCollapse")
        div.list-group-item-heading.mouseOver
            span.badge.pull-right=moment(log.time).format("lll")
            h2.queue=log.role
        hr
        div.btn-toolbar
            if currentUrl === 'replays'
                button.modifyBtns.btn.btn-sm.btn-primary.retryButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex destination=log.destination connector=log.connector roleMessage=log.roleMessage role=log.role version=log.version)
                    span.glyphicon.glyphicon-repeat
                    |  Retry
                button.modifyBtns.btn.btn-sm.btn-primary.fixButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex role=log.role stepCount=log.stepCount)
                    span.glyphicon.glyphicon-ok
                    |  Fixed
                button.modifyBtns.btn.btn-sm.btn-success.changeStepButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex destination=log.destination connector=log.connector roleMessage=log.roleMessage role=log.role version=log.version stepCount=log.stepCount)
                    span.glyphicon.glyphicon-step-forward
                    |  Change Step
                if log.version === "2"
                    button.modifyBtns.btn.btn-sm.btn-success.sendToButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex destination=log.destination connector=log.connector roleMessage=log.roleMessage role=log.role version=log.version sendType='role')
                        span.glyphicon.glyphicon-pencil
                        |  Change Role
                if log.connector === "ActiveMQConnector"
                    button.modifyBtns.btn.btn-sm.btn-success.sendToButton(type="button" messageId=log.messageId logId=log.logId correlationId=log.correlationId index=log.logIndex destination=log.destination connector=log.connector text=log.text role=log.role version=log.version sendType='raw')
                        span.glyphicon.glyphicon-share-alt
                        |  Change Queue
                button.modifyBtns.btn.btn-sm.btn-info(onclick="window.location.href='log?id="+log.logId+"'" data-toggle="tooltip" title="Opens log in a shareable url")
                    span.glyphicon.glyphicon-link
                    |  Share Link
            img.toggle-arrow.pull-right(src='img/toggle_arrow.svg', data-toggle='tooltip', title='Arrow')
    div.collapse.listCollapse
        table.table
            tbody
                tr
                    th Connector
                    td #{log.connector}
                tr
                    th ID
                    td #{log.logId}
                tr
                    th DestinationType
                    td #{log.val["destination-type"] || "queue"}
                tr
                    th DestinationName
{'fraction_non_alphanumeric': 0.10210016155088852, 'fraction_numerical': 0.0004846526655896607, 'mean_word_length': 2.207772020725389, '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': '884784', 'n_tokens_mistral': 1764, 'n_tokens_neox': 1660, 'n_words': 238}