<commit_before>{{link-to 'Back to list' 'nodes' class="btn btn-default"}}
<div class="panel">
    <h2>Data</h2>
    <p><label>Title:</label> {{model.title}}</p>
    <p><label>Description: </label> {{model.description}}</p>
    <p><label>Category:</label> {{model.category}}</p>
    <p><label>Date Created:</label> {{moment-format model.dateCreated}}</p>
    <p><label>Date Modified:</label> {{moment-format model.dateModified}}</p>
    <p><label>Public </label> {{model.public}} </p>

    <p>
        <a href="{{model.links.html}}" target="_blank" class="btn btn-primary">
            View on OSF
        </a>
    </p>

    <p><button class="btn btn-danger" {{action "deleteNode" title description category }}>Delete this project</button></p>
    <hr>

    {{#if propertiesVisible}}
        <button {{action "expandProperties"}}> Close Node Settings </button>
        <table>
            <tr>
                <td><label> Title: </label></td>
                <td>{{input value=editedTitle}}</td>
            </tr>
            <tr>
                <td><label> Description: </label></td>
                <td>{{input value=editedDescription}} </td>
            </tr>
        </table>
        <p><label> Category: </label></p>
        <div>
            <p>{{radio-button name="category" value="analysis" checked=editedCategory}} Analysis </p>
            <p>{{radio-button name="category" value="communication" checked=editedCategory}} Communication </p>
            <p>{{radio-button name="category" value="data" checked=editedCategory}} Data </p>
            <p>{{radio-button name="category" value="hypothesis" checked=editedCategory}} Hypothesis </p>
            <p>{{radio-button name="category" value="instrumentation" checked=editedCategory}} Instrumentation </p>
            <p>{{radio-button name="category" value="methods and measures" checked=editedCategory}} Methods and Measures </p>
            <p>{{radio-button name="category" value="procedure" checked=editedCategory}} Procedure </p>
            <p>{{radio-button name="category" value="project" checked=editedCategory}} Project </p>
            <p>{{radio-button name="category" value="software" checked=editedCategory}} Software</p>
            <p>{{radio-button name="category" value="other" checked=editedCategory}} Other </p>
            <p>{{radio-button name="category" value="uncategorized" checked=editedCategory}} Uncategorized </p>
        </div>
        <p><label> Privacy settings </label></p>
        {{radio-button name="isPublic" value=1 checked=isPublic}} Public
        {{radio-button name="isPublic" value=0 checked=isPublic}} Private

        <button {{action "editExisting" editedTitle editedDescription editedCategory isPublic}} class="btn btn-primary"> Save changes </button>
    {{else}}
        <button {{action "expandProperties"}}> Edit node settings </button>
    {{/if}}
    <hr>
    <h2>Affiliated Institutions</h2>
    <p>
        <table class="table">
            {{#each model.affiliatedInstitutions as |inst|}}
                <tr>
                    <td>
                        {{inst.name}}
                    </td>
                    <td>
                        <button {{action "deaffiliateNode" inst}}>Unaffiliate</button>
                    </td>
                </tr>
            {{/each}}
        </table>
        <h4>Add Institution</h4>
        Institution Id {{input value=instId}}
        <button {{action "affiliateNode" instId}} class="btn btn-primary">Affiliate Node</button>
    </p>
    <h2>Files</h2>
    {{link-to 'View Files' 'nodes.detail.files' model class='btn btn-primary'}}
    <hr>

    {{log-detail node-logs=model.logs}}

    <h2>Contributors</h2>
    <table class="table">
        <tr>
            <th>ID</th>
            <th> Permissions </th>
            <th>Bibliographic</th>
            <th> </th>
        </tr>
        {{#each model.contributors as |contrib|}}
            <tr>
                <td>{{contrib.id}}</td>
                <td>
                    <select onchange={{action "permissionChange" value="target.value" bubbles=true}}>
                        <option value="read {{contrib.id}}" selected={{permissionHelper contrib.permission "read"}}> Read </option>
                        <option value="write {{contrib.id}}" selected={{permissionHelper contrib.permission "write"}}>  Read + Write </option>
                        <option value="admin {{contrib.id}}" selected={{permissionHelper contrib.permission "admin"}}>  Administrator </option>
                    </select>
                </td>
                <td>
                    <input onchange={{action "bibliographicChange" value="target"}} checked={{bibliographicHelper contrib.bibliographic}} type="checkbox" name="bibliographic" value="{{contrib.id}}">
                </td>
                <td> <button {{action "deleteContributor" contrib}} class="btn btn-danger"> Remove </button> </td>
            </tr>
        {{/each}}
    </table>
    <button {{action "updateContributors" editedPermissions editedBibliographic}} class="btn btn-primary"> Save changes </button>

    <hr>

    <h2> Add contributor </h2>
    <p><label> User ID </label> {{input value=contributorID}} </p>
    <p><label> Permissions </label></p><commit_msg>Display contributor full name information.<commit_after>{{link-to 'Back to list' 'nodes' class="btn btn-default"}}
<div class="panel">
    <h2>Data</h2>
    <p><label>Title:</label> {{model.title}}</p>
    <p><label>Description: </label> {{model.description}}</p>
    <p><label>Category:</label> {{model.category}}</p>
    <p><label>Date Created:</label> {{moment-format model.dateCreated}}</p>
    <p><label>Date Modified:</label> {{moment-format model.dateModified}}</p>
    <p><label>Public </label> {{model.public}} </p>

    <p>
        <a href="{{model.links.html}}" target="_blank" class="btn btn-primary">
            View on OSF
        </a>
    </p>

    <p><button class="btn btn-danger" {{action "deleteNode" title description category }}>Delete this project</button></p>
    <hr>

    {{#if propertiesVisible}}
        <button {{action "expandProperties"}}> Close Node Settings </button>
        <table>
            <tr>
                <td><label> Title: </label></td>
                <td>{{input value=editedTitle}}</td>
            </tr>
            <tr>
                <td><label> Description: </label></td>
                <td>{{input value=editedDescription}} </td>
            </tr>
        </table>
        <p><label> Category: </label></p>
        <div>
            <p>{{radio-button name="category" value="analysis" checked=editedCategory}} Analysis </p>
            <p>{{radio-button name="category" value="communication" checked=editedCategory}} Communication </p>
            <p>{{radio-button name="category" value="data" checked=editedCategory}} Data </p>
            <p>{{radio-button name="category" value="hypothesis" checked=editedCategory}} Hypothesis </p>
            <p>{{radio-button name="category" value="instrumentation" checked=editedCategory}} Instrumentation </p>
            <p>{{radio-button name="category" value="methods and measures" checked=editedCategory}} Methods and Measures </p>
            <p>{{radio-button name="category" value="procedure" checked=editedCategory}} Procedure </p>
            <p>{{radio-button name="category" value="project" checked=editedCategory}} Project </p>
            <p>{{radio-button name="category" value="software" checked=editedCategory}} Software</p>
            <p>{{radio-button name="category" value="other" checked=editedCategory}} Other </p>
            <p>{{radio-button name="category" value="uncategorized" checked=editedCategory}} Uncategorized </p>
        </div>
        <p><label> Privacy settings </label></p>
        {{radio-button name="isPublic" value=1 checked=isPublic}} Public
        {{radio-button name="isPublic" value=0 checked=isPublic}} Private

        <button {{action "editExisting" editedTitle editedDescription editedCategory isPublic}} class="btn btn-primary"> Save changes </button>
    {{else}}
        <button {{action "expandProperties"}}> Edit node settings </button>
    {{/if}}
    <hr>
    <h2>Affiliated Institutions</h2>
    <p>
        <table class="table">
            {{#each model.affiliatedInstitutions as |inst|}}
                <tr>
                    <td>
                        {{inst.name}}
                    </td>
                    <td>
                        <button {{action "deaffiliateNode" inst}}>Unaffiliate</button>
                    </td>
                </tr>
            {{/each}}
        </table>
        <h4>Add Institution</h4>
        Institution Id {{input value=instId}}
        <button {{action "affiliateNode" instId}} class="btn btn-primary">Affiliate Node</button>
    </p>
    <h2>Files</h2>
    {{link-to 'View Files' 'nodes.detail.files' model class='btn btn-primary'}}
    <hr>

    {{log-detail node-logs=model.logs}}

    <h2>Contributors</h2>
    <table class="table">
        <tr>
            <th>ID</th>
            <th> Name </th>
            <th> Permissions </th>
            <th>Bibliographic</th>
            <th> </th>
        </tr>
        {{#each model.contributors as |contrib|}}
            <tr>
                <td>{{contrib.id}}</td>
                <td>{{contrib.users.fullName}}</td>
                <td>
                    <select onchange={{action "permissionChange" value="target.value" bubbles=true}}>
                        <option value="read {{contrib.id}}" selected={{permissionHelper contrib.permission "read"}}> Read </option>
                        <option value="write {{contrib.id}}" selected={{permissionHelper contrib.permission "write"}}>  Read + Write </option>
                        <option value="admin {{contrib.id}}" selected={{permissionHelper contrib.permission "admin"}}>  Administrator </option>
                    </select>
                </td>
                <td>
                    <input onchange={{action "bibliographicChange" value="target"}} checked={{bibliographicHelper contrib.bibliographic}} type="checkbox" name="bibliographic" value="{{contrib.id}}">
                </td>
                <td> <button {{action "deleteContributor" contrib}} class="btn btn-danger"> Remove </button> </td>
            </tr>
        {{/each}}
    </table>
    <button {{action "updateContributors" editedPermissions editedBibliographic}} class="btn btn-primary"> Save changes </button>

    <hr>

    <h2> Add contributor </h2>
    <p><label> User ID </label> {{input value=contributorID}} </p>
    <p><label> Permissions </label></p>
{'fraction_non_alphanumeric': 0.16897820549108405, 'fraction_numerical': 0.002641758656477026, 'mean_word_length': 2.455019556714472, 'pattern_counts': {'":': 0, '<': 331, '<?xml version=': 0, '>': 331, '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': '4619919', 'n_tokens_mistral': 3096, 'n_tokens_neox': 2924, 'n_words': 677}