<commit_before>{
	"comment" : "3x dead devices, 3x 50% reliable devices, 3x 100% reliable devices",
    "restart_log" : true,
    "engine" :
    {
        "type" : "sim",
        "start_time" : "-PT1000M",
        "end_time" : "now"
    },
    "events" : [
        {
            "at" : "PT0S",
            "repeats" : 3,
            "interval" : "PT0H",
            "action": {
                "create_device" : {
                    "functions" : {
                        "heartbeat" : {
                            "interval" : "PT1M"
                        },
                        "commswave" : {
                            "timefunction" : {
                                "pulsewave" : {
                                    "interval" : "PT100M",
                                    "transition": "PT0M",
                                    "invert" : true
                                }
                            }
                        },
                        "variable" : [
                            {
                            	"name" : "cluster",
                           		"value" : 1
                           	},
                           	{
                           		"name" : "comment",
                           		"value" : "Cluster 1 : 0% reliable"
                           	}
                        ]
                    }
                }
            }
        },
        {
            "at" : "PT0S",
            "repeats" : 3,
            "interval" : "PT0H",
            "action": {
                "create_device" : {
                    "functions" : {
                        "heartbeat" : {
                            "interval" : "PT1M"
                        },
                        "commswave" : {
                            "timefunction" : {
                                "pulsewave" : {
                                    "interval" : "PT100M",
                                    "transition": "PT50M",
                                    "invert" : true
                                }
                            }
                        },
                        "variable" : [
                            {
                            	"name" : "cluster",
                           		"value" : 2
                           	},
                           	{
                           		"name" : "comment",
                           		"value" : "Cluster 2 : 50% reliable"
                           	}
                        ]
                    }
                }
            }
        },
        {
            "at" : "PT0S",
            "repeats" : 3,
            "interval" : "PT0H",
            "action": {
                "create_device" : {
                    "functions" : {
                        "heartbeat" : {
                            "interval" : "PT1M"
                        },
                        "commswave" : {
                            "timefunction" : {
                                "pulsewave" : {
                                    "interval" : "PT100M",
                                    "transition": "PT100M",
                                    "invert" : true
                                }
                            }
                        },
                        "variable" : [
                            {
                            	"name" : "cluster",
                           		"value" : 3
                           	},
                           	{
                           		"name" : "comment",
                           		"value" : "Cluster 3 : 100% reliable"
                           	}
                        ]
                    }
                }
            }
        }
    ]
}<commit_msg>Added count variable, and made 0% reliable device type 1% reliable<commit_after>{
	"comment" : "3x 1% reliable devices, 3x 50% reliable devices, 3x 100% reliable devices",
    "restart_log" : true,
    "engine" :
    {
        "type" : "sim",
        "start_time" : "-PT1000M",
        "end_time" : "now"
    },
    "events" : [
        {
            "at" : "PT0S",
            "repeats" : 3,
            "interval" : "PT0H",
            "action": {
                "create_device" : {
                    "functions" : {
                        "heartbeat" : {
                            "interval" : "PT1M"
                        },
                        "commswave" : {
                            "timefunction" : {
                                "pulsewave" : {
                                    "interval" : "PT100M",
                                    "transition": "PT1M",
                                    "invert" : true
                                }
                            }
                        },
                        "variable" : [
                            {
             	            	"name" : "cluster",
                           		"value" : 1
                     		},
                            {
                            	"name" : "count",
                       			"timefunction" : {
                                	"count" : {
                                    	"interval" : "PT1M"
                                	}
                                }
                            },
                           	{
                           		"name" : "comment",
                           		"value" : "Cluster 1 : 1% reliable"
                           	}
                        ]
                    }
                }
            }
        },
        {
            "at" : "PT0S",
            "repeats" : 3,
            "interval" : "PT0H",
            "action": {
                "create_device" : {
                    "functions" : {
                        "heartbeat" : {
                            "interval" : "PT1M"
                        },
                        "commswave" : {
                            "timefunction" : {
                                "pulsewave" : {
                                    "interval" : "PT100M",
                                    "transition": "PT50M",
                                    "invert" : true
                                }
                            }
                        },
                        "variable" : [
                            {
                            	"name" : "cluster",
                           		"value" : 2
                           	},
                            {
                            	"name" : "count",
                       			"timefunction" : {
                                	"count" : {
                                    	"interval" : "PT1M"
                                	}
                                }
                            },
                           	{
                           		"name" : "comment",
                           		"value" : "Cluster 2 : 50% reliable"
                           	}
                        ]
                    }
                }
            }
        },
        {
            "at" : "PT0S",
            "repeats" : 3,
            "interval" : "PT0H",
            "action": {
                "create_device" : {
                    "functions" : {
                        "heartbeat" : {
                            "interval" : "PT1M"
                        },
                        "commswave" : {
                            "timefunction" : {
                                "pulsewave" : {
                                    "interval" : "PT100M",
                                    "transition": "PT100M",
                                    "invert" : true
                                }
                            }
                        },
                        "variable" : [
                            {
                            	"name" : "cluster",
                           		"value" : 3
                           	},
                            {
                            	"name" : "count",
                       			"timefunction" : {
                                	"count" : {
                                    	"interval" : "PT1M"
                                	}
                                }
                            },
                           	{
                           		"name" : "comment",
                           		"value" : "Cluster 3 : 100% reliable"
                           	}
                        ]
                    }
                }
            }
        }
    ]
}
{'fraction_non_alphanumeric': 0.0958406561218512, 'fraction_numerical': 0.01265377855887522, 'mean_word_length': 0.4102098133157112, 'pattern_counts': {'":': 12, '<': 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': 21, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5418799', 'n_tokens_mistral': 2027, 'n_tokens_neox': 1845, 'n_words': 273}