<commit_before><h3>Measurement Entry for {{MeasurementCtrl.entry.day}} </h3>
<h4><a ui-sref="showChapter({id: ChapterCtrl.chapter.id})">Return to Chapter</a></h4>
<h5> {{MeasurementCtrl.entry.notes || "No notes available." }} </h5>

<h5>{{MeasurementCtrl.message}}</h5>
<div class="center">
  <form name="MeasurementCtrl.measurementForm" ng-submit="MeasurementCtrl.saveMeasurement()">
    <div class="form-group">
      <div class="field">
        <label for="weight">Weight</label>
        <input id="weight" name="weight" min="0.1" step="0.1" value="0.1" required="true" type="number" ng-model="MeasurementCtrl.measurement.weight">
        <div ng-messages="MeasurementCtrl.measurementForm.weight.$error" ng-if="MeasurementCtrl.measurementForm.weight.$touched">
          <div ng-message="required">Weight cannot be blank.</div>
          <div ng-message="min">Weight must be over zero.</div>
        </div>
      </div>
      <div class="field">
        <label for="bodyfat">Bodyfat</label>
        <input id="bodyfat" name="bodyfat" min="0.1" step="0.1" value="0.1" type="number" ng-model="MeasurementCtrl.measurement.bodyfat">
        <div ng-messages="MeasurementCtrl.measurementForm.bodyfat.$error" ng-if="MeasurementCtrl.measurementForm.bodyfat.$touched">
          <div ng-message="min">Bodyfat must be over zero.</div>
        </div>
      </div>
      <div class="field">
        <label for="height">Height</label>
        <input id="height" name="height" min="0.1" step="0.1" value="0.1" type="number" ng-model="MeasurementCtrl.measurement.height">
        <div ng-messages="MeasurementCtrl.measurementForm.height.$error" ng-if="MeasurementCtrl.measurementForm.height.$touched">
          <div ng-message="min">Height must be over zero.</div>
        </div>
      </div>
      <div class="field">
        <label for="waist">Waist</label>
        <input id="waist" name="waist" min="0.1" step="0.1" value="0.1" type="number" ng-model="MeasurementCtrl.measurement.waist">
        <div ng-messages="MeasurementCtrl.measurementForm.waist.$error" ng-if="MeasurementCtrl.measurementForm.waist.$touched">
          <div ng-message="min">Waist must be over zero.</div>
        </div>
      </div>
      <div class="field">
        <label for="chest">Chest</label>
        <input id="chest" name="chest" min="0.1" step="0.1" value="0.1" type="number" ng-model="MeasurementCtrl.measurement.chest">
        <div ng-messages="MeasurementCtrl.measurementForm.chest.$error" ng-if="MeasurementCtrl.measurementForm.chest.$touched">
          <div ng-message="min">Chest must be over zero.</div>
        </div>
      </div>
    </div>
    <div class="actions"><input type="submit" class="btn btn-success" value="Save Measurement"></div>

  </form>
</div>
<commit_msg>Style form by switching to inline input fields<commit_after><h3>Measurement Entry for {{MeasurementCtrl.entry.day}} </h3>
<h4><a ui-sref="showChapter({id: ChapterCtrl.chapter.id})">Return to Chapter</a></h4>
<h5> {{MeasurementCtrl.entry.notes || "No notes available." }} </h5>

<h5>{{MeasurementCtrl.message}}</h5>
<div class="center">
  <form name="MeasurementCtrl.measurementForm" ng-submit="MeasurementCtrl.saveMeasurement()">
    <div class="form-group">
      <div class="inline">
        <div ng-messages="MeasurementCtrl.measurementForm.weight.$error" ng-if="MeasurementCtrl.measurementForm.weight.$touched">
          <div ng-message="required">Weight cannot be blank.</div>
          <div ng-message="min">Weight must be over zero.</div>
        </div>
        <input id="weight" placeholder="Weight" name="weight" min="0.1" step="0.1" value="0.1" required="true" type="number" ng-model="MeasurementCtrl.measurement.weight">
      </div>
      <div class="inline">
        <div ng-messages="MeasurementCtrl.measurementForm.bodyfat.$error" ng-if="MeasurementCtrl.measurementForm.bodyfat.$touched">
          <div ng-message="min">Bodyfat must be over zero.</div>
        </div>
        <input id="bodyfat" placeholder="Bodyfat" name="bodyfat" min="0.1" step="0.1" value="0.1" type="number" ng-model="MeasurementCtrl.measurement.bodyfat">
      </div>
      <div class="inline">
        <div ng-messages="MeasurementCtrl.measurementForm.height.$error" ng-if="MeasurementCtrl.measurementForm.height.$touched">
          <div ng-message="min">Height must be over zero.</div>
        </div>
        <input id="height" placeholder="Height" name="height" min="0.1" step="0.1" value="0.1" type="number" ng-model="MeasurementCtrl.measurement.height">
      </div>
      <div class="inline">
        <div ng-messages="MeasurementCtrl.measurementForm.waist.$error" ng-if="MeasurementCtrl.measurementForm.waist.$touched">
          <div ng-message="min">Waist must be over zero.</div>
        </div>
        <input id="waist" placeholder="Waist" name="waist" min="0.1" step="0.1" value="0.1" type="number" ng-model="MeasurementCtrl.measurement.waist">
      </div>
      <div class="inline">
        <div ng-messages="MeasurementCtrl.measurementForm.chest.$error" ng-if="MeasurementCtrl.measurementForm.chest.$touched">
          <div ng-message="min">Chest must be over zero.</div>
        </div>
        <input id="chest" placeholder="Chest" name="chest" min="0.1" step="0.1" value="0.1" type="number" ng-model="MeasurementCtrl.measurement.chest">
      </div>
    </div>
    <div class="actions"><input type="submit" class="btn btn-success" value="Save Measurement"></div>

  </form>
</div>

{'fraction_non_alphanumeric': 0.18136805428204658, 'fraction_numerical': 0.013937282229965157, 'mean_word_length': 3.869642857142857, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, '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': '7585016', 'n_tokens_mistral': 1790, 'n_tokens_neox': 1744, 'n_words': 314}