<commit_before><div class="col-sm-9 col-sm-offset-3">
  <div class="checkbox">
    <label for="${field.oid}" class="checkbox-label">
      <input tal:define="name name|field.name;
                         true_val true_val|field.widget.true_val;
                         css_class css_class|field.widget.css_class;
                         oid oid|field.oid"
             type="checkbox"
             name="${name}"
             value="${true_val}"
             id="${oid}"
             tal:attributes="checked cstruct == true_val;
                             class css_class"
             />
      <span tal:omit-tag="" tal:content="field.title" />
    </label>
  </div>
  <span class="help-block" tal:condition="field.description" tal:content="field.description"></span>
</div><commit_msg>Fix the condition to check the checkbox<commit_after><div class="col-sm-9 col-sm-offset-3">
  <div class="checkbox">
    <label for="${field.oid}" class="checkbox-label">
      <input tal:define="name name|field.name;
                         true_val true_val|field.widget.true_val;
                         css_class css_class|field.widget.css_class;
                         oid oid|field.oid"
             type="checkbox"
             name="${name}"
             value="${true_val}"
             id="${oid}"
             tal:attributes="checked 'checked' if cstruct == true_val else None;
                             class css_class"
             />
      <span tal:omit-tag="" tal:content="field.title" />
    </label>
  </div>
  <span class="help-block" tal:condition="field.description" tal:content="field.description"></span>
</div>
{'fraction_non_alphanumeric': 0.14819350887936314, 'fraction_numerical': 0.002449479485609308, 'mean_word_length': 1.9655172413793103, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '7136583', 'n_tokens_mistral': 461, 'n_tokens_neox': 451, 'n_words': 81}