<commit_before>var Structr = require('structr'),
ini = require('ini'),
yaconfig = require('yaconfig'),
fs = require('fs');



var iniPersist = {
	
	decode: function(string)
	{
                                                                   	
		var iniConfig = ini.decode(string.replace(/;[^\n]+/g,'').replace(/\](\s+)/g,']\n')),

		//the config we'll copy to
		newConfig = {};

		
		for(var setting in iniConfig)
		{

			var settingParts = setting.split(':'),
			type = settingParts[0],
			name = settingParts[1];


			//name exists? looks something like: [program:name], or [eventlistener:name]
			if(name)<commit_msg>updated config<commit_after>var Structr = require('structr'),
ini = require('ini'),
yaconfig = require('yaconfig'),
fs = require('fs'),
path = require('path');



var iniPersist = {
	
	decode: function(string)
	{
                                                                   	
		var iniConfig = ini.decode(string.replace(/;[^\n]+/g,'').replace(/\](\s+)/g,']\n')),

		//the config we'll copy to
		newConfig = {};

		
		for(var setting in iniConfig)
		{

			var settingParts = setting.split(':'),
			type = settingParts[0],
			name = settingParts[1];


			//name exists? looks something like: [program:name], or [eventlistener:name]
			if(name)
{'fraction_non_alphanumeric': 0.17336485421591805, 'fraction_numerical': 0.0031520882584712374, 'mean_word_length': 2.4794520547945207, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2104800', 'n_tokens_mistral': 449, 'n_tokens_neox': 381, 'n_words': 86}