<commit_before>div(id="questions_div").bottom-padding-med
    div.panel.panel-default
        div.panel-heading.bottom-padding-med
            button.btn.btn-success.popover-dialog(popover="Feature coming" popover-trigger="mouseenter" ng-click="") New Question
            //button.btn.btn-success(ng-click="newQuestionDialog()" disabled) New Question
            | &nbsp;
            button.btn.btn-default(ng-csv="getExportedQuestions()" filename="question_set.csv") Export as CSV
            form.form-inline.pull-right
                .form-group
                    input.form-control(
                    ng-model="search_text"
                    placeholder="Filter")
    div.panel.panel-primary(
    ng-repeat="(key, value) in questions | orderObjectBy:value.order:order_reverse"
    ng-if="value.section_len > 0")
        div.panel-heading.bottom-padding-med
            .panel-title
                div(
                role="button"
                data-toggle="collapse"
                href="#{{value.id}}")
                    | {{value.label}} -  {{value.section_len}} questions

        div.panel-collapse.collapse(id="{{value.id}}")
            div.panel-body
                table(ts-wrapper).table.table-hover.table-striped.table-condensed.table-responsive
                    thead: tr
                        th(ts-criteria="question_order" ts-default).col-md-1 Number
                        th(ts-criteria="question_label").col-md-1 Label
                        th(ts-criteria="question_v").col-md-1 Version
                        th(ts-criteria="question_text").col-md-5 Question Text
                        th(ts-criteria="component_text").col-md-2 Component
                        th(ts-criteria="question_type").col-md-1 Type<commit_msg>fix order of the question precepts<commit_after>div(id="questions_div").bottom-padding-med
    div.panel.panel-default
        div.panel-heading.bottom-padding-med
            button.btn.btn-success.popover-dialog(popover="Feature coming" popover-trigger="mouseenter" ng-click="") New Question
            //button.btn.btn-success(ng-click="newQuestionDialog()" disabled) New Question
            | &nbsp;
            button.btn.btn-default(ng-csv="getExportedQuestions()" filename="question_set.csv") Export as CSV
            form.form-inline.pull-right
                .form-group
                    input.form-control(
                    ng-model="search_text"
                    placeholder="Filter")
    div.panel.panel-primary(
    ng-repeat="(key, value) in questions"
    ng-if="value.section_len > 0")
        div.panel-heading.bottom-padding-med
            .panel-title
                div(
                role="button"
                data-toggle="collapse"
                href="#{{value.id}}")
                    | {{value.label}} -  {{value.section_len}} questions

        div.panel-collapse.collapse(id="{{value.id}}")
            div.panel-body
                table(ts-wrapper).table.table-hover.table-striped.table-condensed.table-responsive
                    thead: tr
                        th(ts-criteria="question_order" ts-default).col-md-1 Number
                        th(ts-criteria="question_label").col-md-1 Label
                        th(ts-criteria="question_v").col-md-1 Version
                        th(ts-criteria="question_text").col-md-5 Question Text
                        th(ts-criteria="component_text").col-md-2 Component
                        th(ts-criteria="question_type").col-md-1 Type
{'fraction_non_alphanumeric': 0.12794995735001422, 'fraction_numerical': 0.00398066533977822, 'mean_word_length': 1.7942811755361399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2492218', 'n_tokens_mistral': 988, 'n_tokens_neox': 933, 'n_words': 123}