<commit_before>$def with( jobinfo )

<div id="cancelmodal" class="modal hide">
  <div class="modal-header">
    <h3>Cancel Job</h3>
  </div>
  <div class="modal-body">
    <p>Do you want to cancel Job <strong>"$jobinfo['name']"</strong>?</p>
  </div>
  <div class="modal-footer">
    <a id="canceljobyes" class="btn">Yes</a>
    <a id="canceljobno" class="btn btn-primary">No</a>
  </div>
</div>

<div class="container-fluid">
  <div class="row-fluid">
    <div class="span12">
      <form id="jobnameform" class="form-inline">
        <h2>
          <strong>Job $jobinfo['juid']: </strong>
          <span id="jobname">$jobinfo['name']</span>
          <i class="icon-edit" id="jobnameicon"></i>
        </h2>
        <input type="hidden" name="oldname" value="$jobinfo['name']">
        <input type="hidden" name="jobid" value="$jobinfo['jobid']">
      </form>

      <div><strong>Job Created:</strong> $jobinfo['created']</div>
      <div><strong>Job Updated:</strong> $jobinfo['updated']</div>

      <h3>Job State:
        $if jobinfo['state'] == 0:
            <a class="jobstate btn btn-large disabled"><i class="icon-tasks"></i> Just Created</a>
            <a id="btncanceljob" class="btn btn-large btn-warning"><i class="icon-remove"></i> Cancel Job</a>
        $elif jobinfo['state'] == 1:
            <a class="jobstate btn btn-large btn-info disabled"><i class="icon-tasks icon-white"></i> Submitted</a>
            <a id="btncanceljob" class="btn btn-large btn-warning"><i class="icon-remove"></i> Cancel Job</a>
        $elif jobinfo['state'] == 2:
            <a class="jobstate btn btn-large btn-warning disabled"><i class="icon-cog icon-white"></i> Running</a>
            <a id="btncanceljob" class="btn btn-large btn-warning"><i class="icon-remove"></i> Cancel Job</a>
        $elif jobinfo['state'] == 3:
            <a class="jobstate btn btn-large btn-success disabled"><i class="icon-ok-circle icon-white"></i> Completed</a>
        $elif jobinfo['state'] == 4:
            <a class="jobstate btn btn-large btn-inverse disabled"><i class="icon-remove-circle icon-white"></i> Canceled</a>
        $else:
            <a class="jobstate btn btn-large btn-danger disabled"><i class="icon-warning-sign icon-white"></i> Unknown</a>
      </h3>
      <div class="row-fluid">
        <div class="span6">
          <h3>Job Input</h3>
          <ul class="well">
            $for f in jobinfo['files']:
                $if f['type'] == 0:
                    <li> $f['name'] </li>
          </ul>
        </div>
        <div class="span6">
          <h3>Job Output</h3>
          <ul class="well">
            $for f in jobinfo['files']:
                $if f['type'] == 1:
                    <li><a href="/web/file/$f['fid']/$f['name']"> $f['name'] </a></li>
          </ul><commit_msg>renoame status<commit_after>$def with( jobinfo )

<div id="cancelmodal" class="modal hide">
  <div class="modal-header">
    <h3>Cancel Job</h3>
  </div>
  <div class="modal-body">
    <p>Do you want to cancel Job <strong>"$jobinfo['name']"</strong>?</p>
  </div>
  <div class="modal-footer">
    <a id="canceljobyes" class="btn">Yes</a>
    <a id="canceljobno" class="btn btn-primary">No</a>
  </div>
</div>

<div class="container-fluid">
  <div class="row-fluid">
    <div class="span12">
      <form id="jobnameform" class="form-inline">
        <h2>
          <strong>Job $jobinfo['juid']: </strong>
          <span id="jobname">$jobinfo['name']</span>
          <i class="icon-edit" id="jobnameicon"></i>
        </h2>
        <input type="hidden" name="oldname" value="$jobinfo['name']">
        <input type="hidden" name="jobid" value="$jobinfo['jobid']">
      </form>

      <div><strong>Job Created:</strong> $jobinfo['created']</div>
      <div><strong>Job Updated:</strong> $jobinfo['updated']</div>

      <h3>Job State:
        $if jobinfo['state'] == 0:
            <a class="jobstate btn btn-large disabled"><i class="icon-tasks"></i> Pending</a>
            <a id="btncanceljob" class="btn btn-large btn-warning"><i class="icon-remove"></i> Cancel Job</a>
        $elif jobinfo['state'] == 1:
            <a class="jobstate btn btn-large btn-info disabled"><i class="icon-tasks icon-white"></i> Submitted</a>
            <a id="btncanceljob" class="btn btn-large btn-warning"><i class="icon-remove"></i> Cancel Job</a>
        $elif jobinfo['state'] == 2:
            <a class="jobstate btn btn-large btn-warning disabled"><i class="icon-cog icon-white"></i> Running</a>
            <a id="btncanceljob" class="btn btn-large btn-warning"><i class="icon-remove"></i> Cancel Job</a>
        $elif jobinfo['state'] == 3:
            <a class="jobstate btn btn-large btn-success disabled"><i class="icon-ok-circle icon-white"></i> Completed</a>
        $elif jobinfo['state'] == 4:
            <a class="jobstate btn btn-large btn-inverse disabled"><i class="icon-remove-circle icon-white"></i> Canceled</a>
        $else:
            <a class="jobstate btn btn-large btn-danger disabled"><i class="icon-warning-sign icon-white"></i> Unknown</a>
      </h3>
      <div class="row-fluid">
        <div class="span6">
          <h3>Job Input</h3>
          <ul class="well">
            $for f in jobinfo['files']:
                $if f['type'] == 0:
                    <li> $f['name'] </li>
          </ul>
        </div>
        <div class="span6">
          <h3>Job Output</h3>
          <ul class="well">
            $for f in jobinfo['files']:
                $if f['type'] == 1:
                    <li><a href="/web/file/$f['fid']/$f['name']"> $f['name'] </a></li>
          </ul>
{'fraction_non_alphanumeric': 0.20492681185290967, 'fraction_numerical': 0.007497322384862549, 'mean_word_length': 2.598587026332691, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 197, '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': '3188622', 'n_tokens_mistral': 1882, 'n_tokens_neox': 1844, 'n_words': 401}