<commit_before>    <div class="panel panel-default variable variable-panel" id="var_{{ id }}" 
          save_button="#save_button_{{ id}}" 
          form="#form_{{ id}}" 
          codelist_field="#codelist_field_{{ id }}" 
          codelist_checkbox="#codelist_checkbox_{{ id }}" 
          lod_variable_field="#lod_variable_field_{{ id }}"
          learn_definition_checkbox="#learn_definition_checkbox_{{ id }}"
          learn_codelist_checkbox="#learn_codelist_checkbox_{{ id }}">
      <div class="panel-heading">
        <div class="panel-title">
          {{ id }} 
          <div class='btn btn-info btn-xs pull-right save-button' id="save_button_{{ id}}" form="#form_{{ id }}" target="{{ id }}">
            <span class="glyphicon glyphicon-save"></span> Save
          </div>
        </div>
      </div>
      <div class="panel-body" id="body_{{ id }}">
        <form id="form_{{ id }}" name="form">
          <div class="row">
            <div class="col-md-6">
              <div class="control-group form-group">
                <label for="description_{{ id }}">Description</label>
                <textarea id="description_{{ id }}" name="description" class="data form-control" rows="3">{{ description }}</textarea>
              </div>
              <!-- <div class='checkbox'>
                <label>
                  <input id="dimension_map_{{ id }}" name="dimension_map" type="checkbox" class="data"> Map to variable:
                </label>
              </div> -->
              <div class="control-group form-group" id="lod_variable_field_group_{{ id }}">
                <select id="lod_variable_field_{{ id }}" name="lod_variable_field"  class="data form-control" placeholder="Map to a pre-existing variable..."  data-dimension-type="dimension_type_{{ id }}" data-skos-codelist="codelist_field_{{ id }}"></select>
              </div>
          
              <div class="control-group form-group">
                <label for="dimension_type_{{ id }}">Specify the type of variable:</label>
                <select class="data form-control dimension-type-select" id="dimension_type_{{ id }}" name="dimension_type" placeholder="Select variable type"></select>
              </div>
          
              <div class='checkbox'>
                <label>
                  <input id="codelist_checkbox_{{ id }}" name="codelist_checkbox"  class="data" type="checkbox"> Restrict values to code list (SKOS Scheme):
                </label>
              </div>
              
              <div class="control-group form-group" id="codelist_field_group_{{ id }}">
              	<select id="codelist_field_{{ id }}" name="codelist_field"  class="data form-control" placeholder="Select a code list (SKOS Scheme)..."></select>
              </div>
              
              <div class="checkbox">
                  <label>
                    <input id="learn_definition_checkbox_{{ id }}" name="learn_definition_checkbox" type="checkbox" class="data"> Create variable definition from name and description
                  </label>
              </div>
              <div class="checkbox">
                <label>
                  <input id="learn_codelist_checkbox_{{ id }}" name="learn_codelist_checkbox"  class="data" type="checkbox"> Learn code list from values in the dataset
                </label>
              </div><commit_msg>Removing options (no longer needed because of application logic)<commit_after>    <div class="panel panel-default variable variable-panel" id="var_{{ id }}" 
          save_button="#save_button_{{ id}}" 
          form="#form_{{ id}}" 
          codelist_field="#codelist_field_{{ id }}" 
          codelist_checkbox="#codelist_checkbox_{{ id }}" 
          lod_variable_field="#lod_variable_field_{{ id }}"
          learn_definition_checkbox="#learn_definition_checkbox_{{ id }}"
          learn_codelist_checkbox="#learn_codelist_checkbox_{{ id }}">
      <div class="panel-heading">
        <div class="panel-title">
          {{ id }} 
          <div class='btn btn-info btn-xs pull-right save-button' id="save_button_{{ id}}" form="#form_{{ id }}" target="{{ id }}">
            <span class="glyphicon glyphicon-save"></span> Save
          </div>
        </div>
      </div>
      <div class="panel-body" id="body_{{ id }}">
        <form id="form_{{ id }}" name="form">
          <div class="row">
            <div class="col-md-6">
              <div class="control-group form-group">
                <label for="description_{{ id }}">Description</label>
                <textarea id="description_{{ id }}" name="description" class="data form-control" rows="3">{{ description }}</textarea>
              </div>
              <div class="control-group form-group" id="lod_variable_field_group_{{ id }}">
                <label for="lod_variable_field_{{ id }}">Map to known variable:</label>
                <select id="lod_variable_field_{{ id }}" name="lod_variable_field"  class="data form-control" placeholder="Map to a pre-existing variable..."  data-dimension-type="dimension_type_{{ id }}" data-skos-codelist="codelist_field_{{ id }}"></select>
              </div>
          
              <div class="control-group form-group">
                <label for="dimension_type_{{ id }}">Specify the type of variable:</label>
                <select class="data form-control dimension-type-select" id="dimension_type_{{ id }}" name="dimension_type" placeholder="Select variable type"></select>
              </div>
          
              <div class='checkbox'>
                <label>
                  <input id="codelist_checkbox_{{ id }}" name="codelist_checkbox"  class="data" type="checkbox"> Restrict values to code list (SKOS Scheme):
                </label>
              </div>
              
              <div class="control-group form-group" id="codelist_field_group_{{ id }}">
              	<select id="codelist_field_{{ id }}" name="codelist_field"  class="data form-control" placeholder="Select a code list (SKOS Scheme)..."></select>
              </div>
              
              <!-- <div class="checkbox">
                  <label>
                    <input id="learn_definition_checkbox_{{ id }}" name="learn_definition_checkbox" type="checkbox" class="data"> Create variable definition from name and description
                  </label>
              </div> -->
              <div class="checkbox">
                <label>
                  <input id="learn_codelist_checkbox_{{ id }}" name="learn_codelist_checkbox"  class="data" type="checkbox"> Learn code list from values in the dataset
                </label>
              </div>
{'fraction_non_alphanumeric': 0.1509860003010688, 'fraction_numerical': 0.0006021375884389584, 'mean_word_length': 2.228377065111759, 'pattern_counts': {'":': 0, '<': 108, '<?xml version=': 0, '>': 108, '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': '7636471', 'n_tokens_mistral': 1858, 'n_tokens_neox': 1697, 'n_words': 412}