<commit_before><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<jsp:useBean id="stages" scope="request" type="java.util.List<net.oneandone.stool.overview.StageInfo>"/>
<c:forEach var="stage" items="${stages}">
    <tr id="${stage.name}" data-hash="${stage.hash}" data-extractionurl="${stage.extractionUrl}" data-user="${stage.owner}"
        data-status="${stage.running}" data-updateAvailable="${stage.updateAvailable}" class="stage ${stage.category}">

        <td class="status">
            <div class="status label label-${stage.state}">${stage.running}</div>
        </td>
        <td class="name"><span data-container="body" data-toggle="popover" data-placement="bottom" data-content="${stage.extractionUrl}"
                               data-trigger="hover">
                ${stage.name}
        </span></td>
        <td class="links">
            <c:choose>
                <c:when test="${stage.urls != null}">
                    <c:forEach var="url" items="${stage.urls}">
                        <a href="${url.value}" target="_blank">${url.key}</a><br/>
                    </c:forEach>
                </c:when>
                <c:otherwise>
                    -
                </c:otherwise>
            </c:choose>

        </td>
        <td class="until ${stage.until.expired() ? "expired" : ""}">${stage.until}</td>
        <td class="user">${stage.owner}</td>
        <td class="option refresh">
            <button type="button" data-action="refresh" data-estimate="${stage.stats.avgRefresh}" data-stage="${stage.name}"
                    data-option="build" class="btn ${stage.updateAvailable ? "btn-primary" : "btn-default"} btn-xs"
                    <c:if test="${stage.updateAvailable}">data-container="body" data-toggle="popover" data-placement="right"
                    data-title="${stage.changes.exception ? "Warning" : "Update Available"}" data-trigger="hover" data-html="true"
                    data-option="usePrepared"
                    data-content="${stage.changes}"</c:if>><span
                    class="glyphicon glyphicon-refresh"></span> Refresh
            </button>
        <td class="option share">
            <a role="button" href="mailto:?subject=Stage&body=${stage.shareText}" ${stage.urls == null ? "disabled=\"disabled\"" :""}
               class="btn btn-default btn-xs share"><span
                    class="glyphicon glyphicon-bullhorn"></span> Share</a>
        </td>
        <td class="option">
            <div class="btn-group">
                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">Actions <span
                        class="caret"></span></button>
                <ul class="dropdown-menu">
                    <li><a href="#dashboard" data-estimate="${stage.stats.avgStart}" data-action="start"
                           data-stage="${stage.name}">Start</a>
                    </li>
                    <li><a href="#dashboard" data-estimate="${stage.stats.avgStop}" data-action="stop"
                           data-stage="${stage.name}">Stop</a></li>
                    <li><a href="#dashboard" data-estimate="${stage.stats.avgRestart}" data-action="restart" data-stage="${stage.name}">Restart</a>
                    </li>
                    <li><a href="#dashboard" data-option="restart" data-estimate="${stage.stats.avgBuild}" data-action="build"
                           data-timeout="100" data-stage="${stage.name}">Build</a></li>
                    <li><a href="#dashboard" data-action="refresh" data-option="restore" data-stage="${stage.name}">Rollback</a></li>
                </ul>
            </div>
        </td>
    </tr>
</c:forEach><commit_msg>added chown command<commit_after><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<jsp:useBean id="stages" scope="request" type="java.util.List<net.oneandone.stool.overview.StageInfo>"/>
<c:forEach var="stage" items="${stages}">
    <tr id="${stage.name}" data-hash="${stage.hash}" data-extractionurl="${stage.extractionUrl}" data-user="${stage.owner}"
        data-status="${stage.running}" data-updateAvailable="${stage.updateAvailable}" class="stage ${stage.category}">

        <td class="status">
            <div class="status label label-${stage.state}">${stage.running}</div>
        </td>
        <td class="name"><span data-container="body" data-toggle="popover" data-placement="bottom" data-content="${stage.extractionUrl}"
                               data-trigger="hover">
                ${stage.name}
        </span></td>
        <td class="links">
            <c:choose>
                <c:when test="${stage.urls != null}">
                    <c:forEach var="url" items="${stage.urls}">
                        <a href="${url.value}" target="_blank">${url.key}</a><br/>
                    </c:forEach>
                </c:when>
                <c:otherwise>
                    -
                </c:otherwise>
            </c:choose>

        </td>
        <td class="until ${stage.until.expired() ? "expired" : ""}">${stage.until}</td>
        <td class="user">${stage.owner}</td>
        <td class="option refresh">
            <button type="button" data-action="refresh" data-estimate="${stage.stats.avgRefresh}" data-stage="${stage.name}"
                    data-option="build" class="btn ${stage.updateAvailable ? "btn-primary" : "btn-default"} btn-xs"
                    <c:if test="${stage.updateAvailable}">data-container="body" data-toggle="popover" data-placement="right"
                    data-title="${stage.changes.exception ? "Warning" : "Update Available"}" data-trigger="hover" data-html="true"
                    data-option="usePrepared"
                    data-content="${stage.changes}"</c:if>><span
                    class="glyphicon glyphicon-refresh"></span> Refresh
            </button>
        <td class="option share">
            <a role="button" href="mailto:?subject=Stage&body=${stage.shareText}" ${stage.urls == null ? "disabled=\"disabled\"" :""}
               class="btn btn-default btn-xs share"><span
                    class="glyphicon glyphicon-bullhorn"></span> Share</a>
        </td>
        <td class="option">
            <div class="btn-group">
                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">Actions <span
                        class="caret"></span></button>
                <ul class="dropdown-menu">
                    <li><a href="#dashboard" data-action="chown" data-stage="${stage.name}">Chown</a></li>
                    <li><a href="#dashboard" data-estimate="${stage.stats.avgStart}" data-action="start"
                           data-stage="${stage.name}">Start</a>
                    </li>
                    <li><a href="#dashboard" data-estimate="${stage.stats.avgStop}" data-action="stop"
                           data-stage="${stage.name}">Stop</a></li>
                    <li><a href="#dashboard" data-estimate="${stage.stats.avgRestart}" data-action="restart" data-stage="${stage.name}">Restart</a>
                    </li>
                    <li><a href="#dashboard" data-option="restart" data-estimate="${stage.stats.avgBuild}" data-action="build"
                           data-timeout="100" data-stage="${stage.name}">Build</a></li>
                    <li><a href="#dashboard" data-action="refresh" data-option="restore" data-stage="${stage.name}">Rollback</a></li>
                </ul>
            </div>
        </td>
    </tr>
</c:forEach>
{'fraction_non_alphanumeric': 0.19455451872683113, 'fraction_numerical': 0.000766969193404065, 'mean_word_length': 2.219753086419753, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 161, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '677269', 'n_tokens_mistral': 2275, 'n_tokens_neox': 2196, 'n_words': 331}