<commit_before>/**
 * Created by Dean on 6/21/2015.
 */

var QUESTIFY = (function (QUESTIFY) {
	function createStrategy (name, chance, actions) {
		var that = {};
		actions = actions || [];

		that.name = name;
		that.chance = chance;
		that.actions = actions;

		return that;
	}

	QUESTIFY.createStrategy = createStrategy;

	return QUESTIFY;
}(QUESTIFY || {}));<commit_msg>Simplified strategy creation<commit_after>/**
 * Created by Dean on 6/21/2015.
 */

var QUESTIFY = (function (QUESTIFY) {
	"use strict";
	function createStrategy (actions) {
		var that = {};
		actions = actions || [];

		that.actions = actions;

		return that;
	}

	QUESTIFY.createStrategy = createStrategy;

	return QUESTIFY;
}(QUESTIFY || {}));
{'fraction_non_alphanumeric': 0.1486111111111111, 'fraction_numerical': 0.019444444444444445, 'mean_word_length': 3.7434210526315788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3038991', 'n_tokens_mistral': 266, 'n_tokens_neox': 233, 'n_words': 62}