<commit_before><h3>Change Access</h3>
<form class="form-horizontal">

  <!-- Select Basic -->
  <div class="form-group">
    <label class="col-md-8 control-label" for="access-type">Select Access Type</label>
    <div class="col-md-8">
      <select id="access-type" name="access-type" class="form-control">
        <option disabled>Select Access Type</option>
        <?php
        $types = $dal->getAccessTypes();
        /*
        $curr = $dal->getUserAccessLevel("$_GET['for']");
        if ($types) {
          foreach ($types as $row) {
            $option = "<option value='".$row['type']."' ";
            if ($row['type'] == $curr) {
              $option .= "selected>$row['type']</option>";
            } else {
              $option .= ">$row['type']</option>";
            }
            echo $option;
          }
        }
        */
        ?>
      </select>
    </div>
  </div>

  <!-- Button -->
  <div class="form-group">
    <label class="col-md-8 control-label" for="submit"></label>
    <div class="col-md-8">
      <button id="submit" name="submit" class="btn btn-primary">Update</button>
    </div>
  </div>
</form><commit_msg>Try intermediary variable<commit_after><h3>Change Access</h3>
<form class="form-horizontal">

  <!-- Select Basic -->
  <div class="form-group">
    <label class="col-md-8 control-label" for="access-type">Select Access Type</label>
    <div class="col-md-8">
      <select id="access-type" name="access-type" class="form-control">
        <option disabled>Select Access Type</option>
        <?php
        $types = $dal->getAccessTypes();
        $selected_user = $_GET['for'];
        $curr = $dal->getUserAccessLevel($selected_user);
        if ($types) {
          foreach ($types as $row) {
            $option = "<option value='".$row['type']."' ";
            if ($row['type'] == $curr) {
              $option .= "selected>$row['type']</option>";
            } else {
              $option .= ">$row['type']</option>";
            }
            echo $option;
          }
        }
        */
        ?>
      </select>
    </div>
  </div>

  <!-- Button -->
  <div class="form-group">
    <label class="col-md-8 control-label" for="submit"></label>
    <div class="col-md-8">
      <button id="submit" name="submit" class="btn btn-primary">Update</button>
    </div>
  </div>
</form>
{'fraction_non_alphanumeric': 0.20598290598290597, 'fraction_numerical': 0.005128205128205128, 'mean_word_length': 2.129679144385027, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 65, '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': '5436645', 'n_tokens_mistral': 731, 'n_tokens_neox': 721, 'n_words': 139}