<commit_before><%= start_question @question %>
<% if @editing -%>
	<%= check_box "question[]", "default_answer",
		:onChange => "updateDefault(#{@question.id}, this.checked);"%>
<% else -%>
	<%= check_box_tag "question[#{@question.id}]", 'checked', (value and value != '') %>
<% end -%>
<%= end_question @question %><commit_msg>Bugfix: it was impossible to uncheck a checkbox by default<commit_after><%= start_question @question %>
<% if @editing -%>
	<%= check_box_tag "question[#{@question.id}][default_answer]", "checked",
                (@question.default_answer and @question.default_answer != ''),
		:onChange => "updateDefault(#{@question.id}, this.checked ? 'checked' : '');"%>
<% else -%>
	<%= check_box_tag "question[#{@question.id}]", 'checked', (value and value != '') %>
<% end -%>
<%= end_question @question %>
{'fraction_non_alphanumeric': 0.2315151515151515, 'fraction_numerical': 0.0, 'mean_word_length': 5.453125, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '6259692', 'n_tokens_mistral': 295, 'n_tokens_neox': 275, 'n_words': 55}