<commit_before><html>
    <head>
        <meta name="layout" content="main">
        <title><g:meta name="app.name"/>: Outcomes</title>
    </head>
    <body>
        <div class="pageinfo">Manage outcomes</div>
        
        <g:link class="btnlink" controller="outcome" action="create">Create new outcome</g:link>
        
        <g:if test="${session.program}">
            <div class="pageinfo">Edit existing outcomes in ${session.program.name}</div>

            <g:each in="${outcomes}" var="outcome">
                <g:link
                    enabled="${session.program != null}"
                    class="btnlink"
                    controller="outcome"
                    action="edit"
                    id="${outcome.id}">${outcome.toDisplay()}</g:link>
            </g:each>
        </g:if>
        
        <g:if test="${flash.message}"><commit_msg>enabled attribute isn't needed for g:link<commit_after><html>
    <head>
        <meta name="layout" content="main">
        <title><g:meta name="app.name"/>: Outcomes</title>
    </head>
    <body>
        <div class="pageinfo">Manage outcomes</div>
        
        <g:link class="btnlink" controller="outcome" action="create">Create new outcome</g:link>
        
        <g:if test="${session.program}">
            <div class="pageinfo">Edit existing outcomes in ${session.program.name}</div>

            <g:each in="${outcomes}" var="outcome">
                <g:link
                    class="btnlink"
                    controller="outcome"
                    action="edit"
                    id="${outcome.id}">${outcome.toDisplay()}</g:link>
            </g:each>
        </g:if>
        
        <g:if test="${flash.message}">
{'fraction_non_alphanumeric': 0.17007597895967272, 'fraction_numerical': 0.0, 'mean_word_length': 1.8821548821548821, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '650335', 'n_tokens_mistral': 496, 'n_tokens_neox': 479, 'n_words': 84}