<commit_before>u_skins.list = {}
u_skins.meta = {}

local id = 1
local internal_id = 1
local fetched_skip = 0
while fetched_skip < 40 do
	local name = "character_"..id
	local file = io.open(u_skins.modpath.."/meta/"..name..".txt", "r")
	if file then
		local data = string.split(file:read("*all"), "\n", 3)
		file:close()
		
		u_skins.list[internal_id] = name
		u_skins.meta[name] = {}
		u_skins.meta[name].name = data[1]
		u_skins.meta[name].author = data[2]
		u_skins.meta[name].license = data[3]
		u_skins.meta[name].description = "" --what's that??

		local logstr = "[u_skins][#" .. internal_id .. " Skin " .. name
		if data[2] ~= "" then
			logstr = logstr .. " from " .. data[2]
		end
		logstr = logstr .. " under license " .. data[3] .. " registered as " .. data[1]
		minetest.log("action", logstr)
		
		fetched_skip = 0
		internal_id = internal_id + 1
	end
	fetched_skip = fetched_skip + 1
	id = id + 1
end


-- MODIFICATION MADE FOR MFF
id = 1
fetched_skip = 0
while fetched_skip < 40 do
	local name = "mff_character_"..id
	local file = io.open(u_skins.modpath.."/meta/"..name..".txt", "r")
	if file then
		local data = string.split(file:read("*all"), "\n", 3)
		file:close()
		u_skins.list[internal_id] = name
		u_skins.meta[name] = {}
		u_skins.meta[name].name = data[1]
		u_skins.meta[name].author = data[2]
		u_skins.meta[name].license = data[3] or ""
		u_skins.meta[name].description = ""
			
		logstr = "[u_skins][#" .. internal_id .. " Skin " .. name
		if data[2] ~= "" then
			logstr = logstr .. " from " .. data[2]
		end
		logstr = logstr .. " under license " .. data[3] .. " registered as " .. data[1]
		minetest.log("action", logstr)

		fetched_skip = 0
		internal_id = internal_id + 1
	end
	fetched_skip = fetched_skip + 1
	id = id + 1
end<commit_msg>Removed u_skins logs<commit_after>u_skins.list = {}
u_skins.meta = {}

local id = 1
local internal_id = 1
local fetched_skip = 0
while fetched_skip < 40 do
	local name = "character_"..id
	local file = io.open(u_skins.modpath.."/meta/"..name..".txt", "r")
	if file then
		local data = string.split(file:read("*all"), "\n", 3)
		file:close()
		
		u_skins.list[internal_id] = name
		u_skins.meta[name] = {}
		u_skins.meta[name].name = data[1]
		u_skins.meta[name].author = data[2]
		u_skins.meta[name].license = data[3]
		u_skins.meta[name].description = "" --what's that??
		
		fetched_skip = 0
		internal_id = internal_id + 1
	end
	fetched_skip = fetched_skip + 1
	id = id + 1
end


-- MODIFICATION MADE FOR MFF
id = 1
fetched_skip = 0
while fetched_skip < 40 do
	local name = "mff_character_"..id
	local file = io.open(u_skins.modpath.."/meta/"..name..".txt", "r")
	if file then
		local data = string.split(file:read("*all"), "\n", 3)
		file:close()
		u_skins.list[internal_id] = name
		u_skins.meta[name] = {}
		u_skins.meta[name].name = data[1]
		u_skins.meta[name].author = data[2]
		u_skins.meta[name].license = data[3] or ""
		u_skins.meta[name].description = ""
		
		fetched_skip = 0
		internal_id = internal_id + 1
	end
	fetched_skip = fetched_skip + 1
	id = id + 1
end
{'fraction_non_alphanumeric': 0.16929133858267717, 'fraction_numerical': 0.019028871391076115, 'mean_word_length': 3.276297335203366, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1059362', 'n_tokens_mistral': 1353, 'n_tokens_neox': 1183, 'n_words': 264}