<commit_before>{% extends "layout.html" %}

{% block content %}
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="alert alert-warning hidden" role="alert" id="claim-fail-alert">
                    <strong>Information:</strong> Someone has already claimed this stage. Refreshing page...
                </div>

                <h2 class="text-center">Insights for {{ current_status.stage.pipeline_name }} </h2>

                {% if not current_status.is_success() and current_status.stage.is_claimed() %}
                    <h4 class="text-center">
                        Claimed by {{ current_status.stage.responsible }}: {{ current_status.stage.description }}
                    </h4>
                {% endif %}

                {% if (live_info.label|int != current_status.stage.pipeline_counter or live_info.stages[stage_name_index].counter|int != current_status.stage.stage_counter) and "Building" not in live_info.status %}
                    <div class="alert alert-info" role="alert">
                        <strong>Information:</strong> Latest pipeline in GO is not the same as the latest analysed.
                        Waiting for sync (~1min).
                    </div>
                {% endif %}

            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="panel panel-{{ live_info.status | bootstrap_status }}">
                    <div class="panel-heading {{ live_info.status | bootstrap_building }}">
                        <h3 class="panel-title">{{ live_info.status | building_panel_label }}</h3>
                    </div>
                    <div class="panel-body">
                        <p><strong>Pipeline counter:</strong> {{ live_info.label }}
                            , <strong>run </strong> {{ live_info.stages[stage_name_index].counter }}
                        </p>
                        <p>
                            {% if current_status.stage.pipeline_counter == live_info.label|int and current_status.stage.stage_counter == live_info.stages[stage_name_index].counter|int and live_info.stages[stage_name_index].name == current_status.stage.stage_name %}
                                <strong>Result:</strong>
                                <span class="{{ current_status.is_success() | build_outcome }}">{{ current_status.describe_run_outcome() }}</span>
                            {% endif %}
                            {% if current_status.stage.pipeline_counter != live_info.label|int or current_status.stage.stage_counter != live_info.stages[stage_name_index].counter|int %}
                                <strong>Status:</strong>
                                <span>{{ live_info.status }}</span>
                            {% endif %}<commit_msg>Changed unsynced info panel text<commit_after>{% extends "layout.html" %}

{% block content %}
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="alert alert-warning hidden" role="alert" id="claim-fail-alert">
                    <strong>Information:</strong> Someone has already claimed this stage. Refreshing page...
                </div>

                <h2 class="text-center">Insights for {{ current_status.stage.pipeline_name }} </h2>

                {% if not current_status.is_success() and current_status.stage.is_claimed() %}
                    <h4 class="text-center">
                        Claimed by {{ current_status.stage.responsible }}: {{ current_status.stage.description }}
                    </h4>
                {% endif %}

                {% if (live_info.label|int != current_status.stage.pipeline_counter or live_info.stages[stage_name_index].counter|int != current_status.stage.stage_counter) and "Building" not in live_info.status %}
                    <div class="alert alert-info" role="alert">
                        <strong>Information:</strong> Latest pipeline in GO has not been synced and analyzed yet.
                        Waiting for sync (~1min).
                    </div>
                {% endif %}

            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="panel panel-{{ live_info.status | bootstrap_status }}">
                    <div class="panel-heading {{ live_info.status | bootstrap_building }}">
                        <h3 class="panel-title">{{ live_info.status | building_panel_label }}</h3>
                    </div>
                    <div class="panel-body">
                        <p><strong>Pipeline counter:</strong> {{ live_info.label }}
                            , <strong>run </strong> {{ live_info.stages[stage_name_index].counter }}
                        </p>
                        <p>
                            {% if current_status.stage.pipeline_counter == live_info.label|int and current_status.stage.stage_counter == live_info.stages[stage_name_index].counter|int and live_info.stages[stage_name_index].name == current_status.stage.stage_name %}
                                <strong>Result:</strong>
                                <span class="{{ current_status.is_success() | build_outcome }}">{{ current_status.describe_run_outcome() }}</span>
                            {% endif %}
                            {% if current_status.stage.pipeline_counter != live_info.label|int or current_status.stage.stage_counter != live_info.stages[stage_name_index].counter|int %}
                                <strong>Status:</strong>
                                <span>{{ live_info.status }}</span>
                            {% endif %}
{'fraction_non_alphanumeric': 0.1254160098090734, 'fraction_numerical': 0.0035032404974601507, 'mean_word_length': 1.695939565627951, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '341744', 'n_tokens_mistral': 1534, 'n_tokens_neox': 1418, 'n_words': 279}