<commit_before>(function(global){
	global.templates = {
		"urn" : '<div class="form-group"><label class="control-label">{{label}}</label><input class="form-control prompt_field" data-field="{{field}}" placeholder="{{placeholder}}" {{required}}></div>',
		"string" : '<div class="form-group"><label class="control-label">{{label}}</label><input class="form-control prompt_field" data-field="{{field}}" placeholder="{{placeholder}}" value="{{default}}" {{required}}></div>',
		"text" : '<div class="form-group"><label class="control-label">{{label}}</label><textarea rows="2" class="form-control prompt_field" data-field="{{field}}" placeholder="{{placeholder}}" {{required}}>{{default}}</textarea></div>',
		"bool" : '<div class="checkbox"><label class="control-label"><input type="checkbox" class="prompt_field" data-field="{{field}}" {{default}}>{{label}}</label></div>',
		"number" : '<div class="form-group"><label class="control-label">{{label}}</label><input type="number" value="{{default}}" class="form-control prompt_field" data-field="{{field}}" placeholder="{{placeholder}}"></div>',
		"keyval" : '<div class="form-group"><label class="control-label">{{label}}</label><ol class="choice_values prompt_field" data-field="{{field}}"></ol></div>',
		"promptlink" : '<a role="button" class="list-group-item prompt_link" href="#"><span class="prompt-icon glyphicon glyphicon-{{icon}}"></span> <span> <span class="prompt_id_text"> ___ </span> <!-- <span class="badge">{{prompt_type}}</span> --> </span> <span class="remove_prompt_button pull-right glyphicon glyphicon-remove"></span></a>'
	}
})(window);<commit_msg>do not allow negative numbers<commit_after>(function(global){
	global.templates = {
		"urn" : '<div class="form-group"><label class="control-label">{{label}}</label><input class="form-control prompt_field" data-field="{{field}}" placeholder="{{placeholder}}" {{required}}></div>',
		"string" : '<div class="form-group"><label class="control-label">{{label}}</label><input class="form-control prompt_field" data-field="{{field}}" placeholder="{{placeholder}}" value="{{default}}" {{required}}></div>',
		"text" : '<div class="form-group"><label class="control-label">{{label}}</label><textarea rows="2" class="form-control prompt_field" data-field="{{field}}" placeholder="{{placeholder}}" {{required}}>{{default}}</textarea></div>',
		"bool" : '<div class="checkbox"><label class="control-label"><input type="checkbox" class="prompt_field" data-field="{{field}}" {{default}}>{{label}}</label></div>',
		"number" : '<div class="form-group"><label class="control-label">{{label}}</label><input type="number" min="0" value="{{default}}" class="form-control prompt_field" data-field="{{field}}" placeholder="{{placeholder}}"></div>',
		"keyval" : '<div class="form-group"><label class="control-label">{{label}}</label><ol class="choice_values prompt_field" data-field="{{field}}"></ol></div>',
		"promptlink" : '<a role="button" class="list-group-item prompt_link" href="#"><span class="prompt-icon glyphicon glyphicon-{{icon}}"></span> <span> <span class="prompt_id_text"> ___ </span> <!-- <span class="badge">{{prompt_type}}</span> --> </span> <span class="remove_prompt_button pull-right glyphicon glyphicon-remove"></span></a>'
	}
})(window);
{'fraction_non_alphanumeric': 0.25858895705521473, 'fraction_numerical': 0.0009202453987730061, 'mean_word_length': 9.127329192546584, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '3548884', 'n_tokens_mistral': 985, 'n_tokens_neox': 936, 'n_words': 160}