<commit_before><!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="de">
<head th:replace="/fragments/headTag :: headTag">
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>Report Cockpit Birt</title>

    <!-- Bootstrap -->
    <link href="../resources/bootstrap/css/bootstrap.css" rel="stylesheet"/>

    <!-- Bootstrap theme -->
    <link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/paper/bootstrap.min.css"
          rel="stylesheet"/>
</head>

<body>

<div th:include="/fragments/bodyHeader :: bodyHeader" th:remove="tag"></div>
<div th:replace="/fragments/navbar :: defaultNavbar"></div>

<div class="container-fluid main">
    <div class="row">
        <div class="col-md-4">
            <div th:if="${error}" class="alert alert-danger" role="alert"
                 th:text="${error}">ERROR
            </div>

            <div th:if="${msg}" class="alert alert-info" role="alert"
                 th:text="${msg}">Message
            </div>
        </div>
        <div class="col-md-4"></div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <div class="modal-dialog" style="margin-bottom: 0">
                <div class="modal-content">
                    <div class="panel-heading">
                        <h3 class="panel-title">Parameter</h3>
                    </div>
                    <div class="panel-body">
                        <form id="parameters" class="form-horizontal render-partial"
                              th:action="@{'/reports/'+${reportName}+'/params'}"
                              th:object="${parameterForm}"
                              method="post"
                              novalidate="false">
                            <th:block th:each="group, groupStat : ${parameterForm.groups}">
                                <div th:id="${group.name}"
                                     th:attr="data-cascading-group=${group.cascading}">

                                    <legend th:if="${not group.invisible}"
                                            th:text="${group.displayLabel}"
                                            class="grouplegend">Group Legend
                                    </legend>

                                    <th:block th:each="scalar, scalarStat : ${group.parameters}">
                                        <div class="control-group"
                                             th:classappend="${#fields.hasErrors('params['+scalar.name+'].text')}? 'has-error'">
                                            <label class="control-label"
                                                   th:for="${scalar.name}"
                                                   th:text="${scalar.displayLabel}">
                                                DisplayLabel
                                            </label>

                                            <div class="controls">
                                                <th:block th:switch="${scalar.parameterType}">
                                                    <th:block th:case="'MULTISELECT'">
                                                        <select th:id="${scalar.name}"
                                                                th:field="*{params[__${scalar.name}__].text}"
                                                                th:size="${scalar.rowCount}"
                                                                multiple="multiple"
                                                                class="form-control"
                                                                data-toggle="tooltip" data-placement="bottom" rel="tooltip" th:title="${scalar.tooltip}">
                                                            <option th:each="option : ${scalar.options}"
                                                                    th:value="${{option}}"
                                                                    th:text="${option.displayName}">
                                                                DISPLAYNAME
                                                            </option>
                                                        </select>
                                                    </th:block>
                                                    <th:block th:case="'SINGLESELECT'">
                                                        <select th:id="${scalar.name}"
                                                                th:field="*{params[__${scalar.name}__].text}"
                                                                class="form-control"
                                                                data-toggle="tooltip" data-placement="bottom" rel="tooltip" th:title="${scalar.tooltip}">
                                                            <option value=""></option>
                                                            <option th:each="option : ${scalar.options}"
                                                                    th:value="${{option}}"
                                                                    th:text="${option.displayName}">
                                                                DISPLAYNAME
                                                            </option>
                                                        </select>
                                                    </th:block>
                                                    <th:block th:case="RADIOSELECT">
                                                        <div th:each="option : ${scalar.options}">
                                                            <label th:for="${#ids.next('parameters'+__${scalarStat.index}__+'.text')}"
                                                                   th:inline="text">
                                                                <input type="radio"
                                                                       th:field="*{params[__${scalar.name}__].text}"
                                                                       th:value="${{option}}"
                                                                />
                                                                [[${option.displayName}]]
                                                            </label>
                                                        </div>
                                                    </th:block>
                                                    <th:block th:case="*">
                                                        <input class="input-block-level"
                                                               value="to_be_replaced"
                                                               th:id="${scalar.name}"
                                                               th:field="*{params[__${scalar.name}__].text}"
                                                               th:type="${scalar.htmlFieldType}"
                                                               th:placeholder="${scalar.defaultValue}"
                                                               data-toggle="tooltip" data-placement="bottom" rel="tooltip" th:title="${scalar.tooltip}"/>
                                                    </th:block>
                                                </th:block>
                                                <p>
                                                    [ <span th:text="${scalar.name}+'='+${{scalar.text}}">REPLACE</span> ]
                                                </p>
                                                <span class="help-block" th:if="${#fields.hasErrors('params['+scalar.name+'].text')}" th:errors="*{params[__${scalar.name}__].text}">Incorrect date</span>
                                            </div>
                                        </div>
                                    </th:block>
                                </div>
                            </th:block>
                            <div class="control-group" style="padding-top:20px">
                                <div class="controls">
                                    <button type="submit" class="btn btn-primary">
                                        Ok
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div><commit_msg>Removed debugging information from parameters view<commit_after><!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="de">
<head th:replace="/fragments/headTag :: headTag">
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>Report Cockpit Birt</title>

    <!-- Bootstrap -->
    <link href="../resources/bootstrap/css/bootstrap.css" rel="stylesheet"/>

    <!-- Bootstrap theme -->
    <link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/paper/bootstrap.min.css"
          rel="stylesheet"/>
</head>

<body>

<div th:include="/fragments/bodyHeader :: bodyHeader" th:remove="tag"></div>
<div th:replace="/fragments/navbar :: defaultNavbar"></div>

<div class="container-fluid main">
    <div class="row">
        <div class="col-md-4">
            <div th:if="${error}" class="alert alert-danger" role="alert"
                 th:text="${error}">ERROR
            </div>

            <div th:if="${msg}" class="alert alert-info" role="alert"
                 th:text="${msg}">Message
            </div>
        </div>
        <div class="col-md-4"></div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <div class="modal-dialog" style="margin-bottom: 0">
                <div class="modal-content">
                    <div class="panel-heading">
                        <h3 class="panel-title">Parameter</h3>
                    </div>
                    <div class="panel-body">
                        <form id="parameters" class="form-horizontal render-partial"
                              th:action="@{'/reports/'+${reportName}+'/params'}"
                              th:object="${parameterForm}"
                              method="post"
                              novalidate="false">
                            <th:block th:each="group, groupStat : ${parameterForm.groups}">
                                <div th:id="${group.name}"
                                     th:attr="data-cascading-group=${group.cascading}">

                                    <legend th:if="${not group.invisible}"
                                            th:text="${group.displayLabel}"
                                            class="grouplegend">Group Legend
                                    </legend>

                                    <th:block th:each="scalar, scalarStat : ${group.parameters}">
                                        <div class="control-group"
                                             th:classappend="${#fields.hasErrors('params['+scalar.name+'].text')}? 'has-error'">
                                            <label class="control-label"
                                                   th:for="${scalar.name}"
                                                   th:text="${scalar.displayLabel}">
                                                DisplayLabel
                                            </label>

                                            <div class="controls">
                                                <th:block th:switch="${scalar.parameterType}">
                                                    <th:block th:case="'MULTISELECT'">
                                                        <select th:id="${scalar.name}"
                                                                th:field="*{params[__${scalar.name}__].text}"
                                                                th:size="${scalar.rowCount}"
                                                                multiple="multiple"
                                                                class="form-control"
                                                                data-toggle="tooltip" data-placement="bottom" rel="tooltip" th:title="${scalar.tooltip}">
                                                            <option th:each="option : ${scalar.options}"
                                                                    th:value="${{option}}"
                                                                    th:text="${option.displayName}">
                                                                DISPLAYNAME
                                                            </option>
                                                        </select>
                                                    </th:block>
                                                    <th:block th:case="'SINGLESELECT'">
                                                        <select th:id="${scalar.name}"
                                                                th:field="*{params[__${scalar.name}__].text}"
                                                                class="form-control"
                                                                data-toggle="tooltip" data-placement="bottom" rel="tooltip" th:title="${scalar.tooltip}">
                                                            <option value=""></option>
                                                            <option th:each="option : ${scalar.options}"
                                                                    th:value="${{option}}"
                                                                    th:text="${option.displayName}">
                                                                DISPLAYNAME
                                                            </option>
                                                        </select>
                                                    </th:block>
                                                    <th:block th:case="RADIOSELECT">
                                                        <div th:each="option : ${scalar.options}">
                                                            <label th:for="${#ids.next('parameters'+__${scalarStat.index}__+'.text')}"
                                                                   th:inline="text">
                                                                <input type="radio"
                                                                       th:field="*{params[__${scalar.name}__].text}"
                                                                       th:value="${{option}}"
                                                                />
                                                            </label>
                                                        </div>
                                                    </th:block>
                                                    <th:block th:case="*">
                                                        <input class="input-block-level"
                                                               value="to_be_replaced"
                                                               th:id="${scalar.name}"
                                                               th:field="*{params[__${scalar.name}__].text}"
                                                               th:type="${scalar.htmlFieldType}"
                                                               th:placeholder="${scalar.defaultValue}"
                                                               data-toggle="tooltip" data-placement="bottom" rel="tooltip" th:title="${scalar.tooltip}"/>
                                                    </th:block>
                                                </th:block>
                                                <span class="help-block" th:if="${#fields.hasErrors('params['+scalar.name+'].text')}" th:errors="*{params[__${scalar.name}__].text}">Incorrect date</span>
                                            </div>
                                        </div>
                                    </th:block>
                                </div>
                            </th:block>
                            <div class="control-group" style="padding-top:20px">
                                <div class="controls">
                                    <button type="submit" class="btn btn-primary">
                                        Ok
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.11508328013464106, 'fraction_numerical': 0.001624978236898613, 'mean_word_length': 0.686105675146771, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 274, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3208506', 'n_tokens_mistral': 3015, 'n_tokens_neox': 2912, 'n_words': 453}