<commit_before>    <section class="contributions">
      <div class="container">
        <h2 class="header">My Contributions</h2>{{
          for (let projectId in user.machines) {
            const machines = user.machines[projectId];
            const project = projects[projectId];
            for (const id in machines) {
              const machine = machines[id];
              if (machine.status === "new") {
                continue;
              }
              const name = machine.properties.name || `${project.name} #${id}`;
        }}
        <div class="panel panel-default panel-project">
          <div class="panel-heading">
            <img class="project-icon" src="{{= project.icon in xmlattr}}" alt="{{= project.name in xmlattr}} Logo">
            <div class="editable-label project-title">
              <form action="/api/hosts/{{= machine.docker.host in xmlattr}}/containers/{{= machine.docker.container in xmlattr}}" class="ajax-form editable-editor has-feedback" data-refresh-after-success="true" method="patch">
                <input class="form-control" data-submit-on="blur" name="/name" placeholder="{{= project.name in xmlattr }} #{{= id in id}}" type="text" value="{{= machine.properties.name in xmlattr }}">
              </form>
              <div class="editable-value">
                <h4>{{= name in html}}</h4>
                <span class="glyphicon glyphicon-pencil editable-toggle"></span>
              </div>
            </div>
            <div class="project-actions dropdown">
              <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
              </a>
              <ul class="dropdown-menu">{{
                const updated = new Date(machine.data.updated);
                const c9sdkStart = new Date('2017-08-02');
                const c9ioEnd = new Date('2017-09-02');
                if (updated > c9sdkStart && updated < c9ioEnd) { }}
                <li>
                  <a href="https://c9.io/open/ssh?name={{= projectId in id}}-{{= id in id}}&description={{= project.name in uri}}%20on%20janitor.technology&host={{= machine.docker.host in uri}}&port={{= machine.docker.ports['22'].port in integer}}&user=user&workspaceDir={{= project.docker.path in uri}}&nodePath=%2Fhome%2Fuser%2F.c9%2Fnode%2Fbin%2Fnode" target="_blank">Edit via c9.io</a>
                </li>{{ } }}
                <li>
                  <a data-confirm="Delete {{= name in html}}?" data-details="This action can't be undone, please make sure you've backed up everything valuable." data-form-action="/api/hosts/{{= machine.docker.host in xmlattr}}/containers/{{= machine.docker.container in xmlattr}}" data-toggle="modal" data-target="#confirm" href="#">Delete</a>
                </li>
              </ul>
              <a class="btn btn-default" href="https://{{= machine.docker.host in uri}}/{{= machine.docker.container.slice(0,16) in uri}}/8088/vnc.html" target="_blank">VNC</a>
              <a class="btn btn-primary"{{
                if (updated < c9sdkStart) { }} href="https://c9.io/open/ssh?name={{= projectId in id}}-{{= id in id}}&description={{= project.name in uri}}%20on%20janitor.technology&host={{= machine.docker.host in uri}}&port={{= machine.docker.ports['22'].port in integer}}&user=user&workspaceDir={{= project.docker.path in uri}}&nodePath=%2Fhome%2Fuser%2F.c9%2Fnode%2Fbin%2Fnode" {{ }
                else { }} href="https://{{= machine.docker.host in uri}}/{{= machine.docker.container.slice(0,16) in uri}}/8089/ide.html" {{ }
              }}target="_blank"><span class="hidden-xs">Edit in </span>Cloud9</a>
            </div>
          </div>
          <div class="panel-body">
            <label>Status</label>
            <span class="project-status" data-status="{{= machine.status in xmlattr}}"></span>
            <p class="project-updated">Built <time class="project-timestamp" data-timestamp="{{= machine.data.updated in integer}}"></time>.</p>
          </div>
        </div>{{
            }
          }
        }}
      </div>
      <div class="modal-form modal fade" id="confirm" tabindex="-1" role="dialog" aria-labelledby="confirm-title">
        <form class="ajax-form has-feedback modal-dialog" data-refresh-after-success="true" method="delete" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
              <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body">
              <p class="modal-details"></p>
            </div>
            <div class="modal-footer">
              <button class="btn btn-default" type="button" data-dismiss="modal">Cancel</button>
              <button class="btn btn-danger" type="submit" id="confirm-button">Delete</button>
            </div>
          </div>
        </form>
      </div>
    </section>
<commit_msg>Clarify IDE buttons: s/Edit in Cloud9/Open IDE/.<commit_after>    <section class="contributions">
      <div class="container">
        <h2 class="header">My Contributions</h2>{{
          for (let projectId in user.machines) {
            const machines = user.machines[projectId];
            const project = projects[projectId];
            for (const id in machines) {
              const machine = machines[id];
              if (machine.status === "new") {
                continue;
              }
              const name = machine.properties.name || `${project.name} #${id}`;
        }}
        <div class="panel panel-default panel-project">
          <div class="panel-heading">
            <img class="project-icon" src="{{= project.icon in xmlattr}}" alt="{{= project.name in xmlattr}} Logo">
            <div class="editable-label project-title">
              <form action="/api/hosts/{{= machine.docker.host in xmlattr}}/containers/{{= machine.docker.container in xmlattr}}" class="ajax-form editable-editor has-feedback" data-refresh-after-success="true" method="patch">
                <input class="form-control" data-submit-on="blur" name="/name" placeholder="{{= project.name in xmlattr }} #{{= id in id}}" type="text" value="{{= machine.properties.name in xmlattr }}">
              </form>
              <div class="editable-value">
                <h4>{{= name in html}}</h4>
                <span class="glyphicon glyphicon-pencil editable-toggle"></span>
              </div>
            </div>
            <div class="project-actions dropdown">
              <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
              </a>
              <ul class="dropdown-menu">{{
                const updated = new Date(machine.data.updated);
                const c9sdkStart = new Date('2017-08-02');
                const c9ioEnd = new Date('2017-09-02');
                if (updated > c9sdkStart && updated < c9ioEnd) { }}
                <li>
                  <a href="https://c9.io/open/ssh?name={{= projectId in id}}-{{= id in id}}&description={{= project.name in uri}}%20on%20janitor.technology&host={{= machine.docker.host in uri}}&port={{= machine.docker.ports['22'].port in integer}}&user=user&workspaceDir={{= project.docker.path in uri}}&nodePath=%2Fhome%2Fuser%2F.c9%2Fnode%2Fbin%2Fnode" target="_blank">Edit via c9.io</a>
                </li>{{ } }}
                <li>
                  <a data-confirm="Delete {{= name in html}}?" data-details="This action can't be undone, please make sure you've backed up everything valuable." data-form-action="/api/hosts/{{= machine.docker.host in xmlattr}}/containers/{{= machine.docker.container in xmlattr}}" data-toggle="modal" data-target="#confirm" href="#">Delete</a>
                </li>
              </ul>
              <a class="btn btn-default" href="https://{{= machine.docker.host in uri}}/{{= machine.docker.container.slice(0,16) in uri}}/8088/vnc.html" target="_blank">VNC</a>
              <a class="btn btn-primary"{{
                if (updated < c9sdkStart) { }} href="https://c9.io/open/ssh?name={{= projectId in id}}-{{= id in id}}&description={{= project.name in uri}}%20on%20janitor.technology&host={{= machine.docker.host in uri}}&port={{= machine.docker.ports['22'].port in integer}}&user=user&workspaceDir={{= project.docker.path in uri}}&nodePath=%2Fhome%2Fuser%2F.c9%2Fnode%2Fbin%2Fnode" {{ }
                else { }} href="https://{{= machine.docker.host in uri}}/{{= machine.docker.container.slice(0,16) in uri}}/8089/ide.html" {{ }
              }}target="_blank"><span class="hidden-xs">Open </span>IDE</a>
            </div>
          </div>
          <div class="panel-body">
            <label>Status</label>
            <span class="project-status" data-status="{{= machine.status in xmlattr}}"></span>
            <p class="project-updated">Built <time class="project-timestamp" data-timestamp="{{= machine.data.updated in integer}}"></time>.</p>
          </div>
        </div>{{
            }
          }
        }}
      </div>
      <div class="modal-form modal fade" id="confirm" tabindex="-1" role="dialog" aria-labelledby="confirm-title">
        <form class="ajax-form has-feedback modal-dialog" data-refresh-after-success="true" method="delete" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
              <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body">
              <p class="modal-details"></p>
            </div>
            <div class="modal-footer">
              <button class="btn btn-default" type="button" data-dismiss="modal">Cancel</button>
              <button class="btn btn-danger" type="submit" id="confirm-button">Delete</button>
            </div>
          </div>
        </form>
      </div>
    </section>

{'fraction_non_alphanumeric': 0.17821103164494956, 'fraction_numerical': 0.014107965121975116, 'mean_word_length': 2.4301075268817205, 'pattern_counts': {'":': 0, '<': 163, '<?xml version=': 0, '>': 161, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 18}, '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': '3075400', 'n_tokens_mistral': 3098, 'n_tokens_neox': 2939, 'n_words': 621}