<commit_before><div id="server_settings_dialog" class="dialog">
  <div class="close">x</div>
  <h2>{{ 'Edit' if server else 'Add' }} server</h2>

  <form class="inner" method="post" action="">

    <div class="formrow">
      <label for="id_server_label">Label</label>
      <input id="id_server_label" name="label" type="text" value="{{ server.label }}">
    </div>

    <div class="formrow">
      <label for="id_server_hostname">Hostname</label>
      <input id="id_server_hostname" name="hostname" type="text" value="{{ server.hostname }}">
    </div>

    <div class="formrow">
      <label for="id_server_port">Port</label>
      <input id="id_server_port" name="port" type="text" value="{{ server.port }}">
    </div>

    <div class="formrow">
      <label for="id_server_username">Username</label>
      <input id="id_server_username" name="username" type="text" value="{{ server.username }}">
    </div>

    <div class="formrow">
      <label for="id_server_password">Password</label>
      <input id="id_server_password" name="password" type="password" value="{{ server.password }}">
    </div>

    <div class="formrow">
      <label for="id_server_mac_address">MAC Address</label>
      <input id="id_server_mac_address" name="mac_address" type="text" value="{{ server.mac_address }}">
    </div>

    <div class="formrow">
      <label for="id_server_position">Position</label>
      <input id="id_server_position" name="position" type="text" value="{{ server.position if server }}">
    </div>

  </form>

  <div class="choices">
    <div class="save">Save</div>
    {% if server %}<div class="delete" data-server_id="{{ server.id }}">Delete</div>{% endif %}
    <div class="cancel">Cancel</div>
  </div>
</div><commit_msg>added asterisks to optional fields<commit_after><div id="server_settings_dialog" class="dialog">
  <div class="close">x</div>
  <h2>{{ 'Edit' if server else 'Add' }} server</h2>

  <form class="inner" method="post" action="">

    <div class="formrow">
      <label for="id_server_label">Label</label>
      <input id="id_server_label" name="label" type="text" value="{{ server.label }}">
    </div>

    <div class="formrow">
      <label for="id_server_hostname">Hostname</label>
      <input id="id_server_hostname" name="hostname" type="text" value="{{ server.hostname }}">
    </div>

    <div class="formrow">
      <label for="id_server_port">Port</label>
      <input id="id_server_port" name="port" type="text" value="{{ server.port }}">
    </div>

    <div class="formrow">
      <label for="id_server_username">Username *</label>
      <input id="id_server_username" name="username" type="text" value="{{ server.username }}">
    </div>

    <div class="formrow">
      <label for="id_server_password">Password *</label>
      <input id="id_server_password" name="password" type="password" value="{{ server.password }}">
    </div>

    <div class="formrow">
      <label for="id_server_mac_address">MAC Address *</label>
      <input id="id_server_mac_address" name="mac_address" type="text" value="{{ server.mac_address }}">
    </div>

    <div class="formrow">
      <label for="id_server_position">Position *</label>
      <input id="id_server_position" name="position" type="text" value="{{ server.position if server }}">
    </div>

  </form>

  <div class="choices">
    <div class="save">Save</div>
    {% if server %}<div class="delete" data-server_id="{{ server.id }}">Delete</div>{% endif %}
    <div class="cancel">Cancel</div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.19674935842600513, 'fraction_numerical': 0.0011405759908753922, 'mean_word_length': 4.291101055806938, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, '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': '7644002', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1128, 'n_words': 233}