<commit_before>module "iwinfo"

function type()
	return "dummy"
end

dummy = {}

function dummy.channel()
	return 1
end

function dummy.frequency()
	return 2412
end

function dummy.bitrate()
	return 36
end

function dummy.signal()
	return -53
end

function dummy.noise()
	return -96
end

function dummy.quality()
	return 11
end

function dummy.quality_max()
	return 70
end

function dummy.mode()
	return "Master"
end

function dummy.ssid()
	return "OpenWrt"
end

function dummy.bssid()
	return "00:11:22:33:44:55"
end

function dummy.enctype()
	return "WPA2 PSK (CCMP)"
end

function dummy.assoclist()
	return {}
end

function dummy.mbssid_support()
	return 1
end<commit_msg>libs/iwinfo: add dummy.txpwrlist()<commit_after>module "iwinfo"

function type()
	return "dummy"
end

dummy = {}

function dummy.channel()
	return 1
end

function dummy.frequency()
	return 2412
end

function dummy.bitrate()
	return 36
end

function dummy.signal()
	return -53
end

function dummy.noise()
	return -96
end

function dummy.quality()
	return 11
end

function dummy.quality_max()
	return 70
end

function dummy.mode()
	return "Master"
end

function dummy.ssid()
	return "OpenWrt"
end

function dummy.bssid()
	return "00:11:22:33:44:55"
end

function dummy.enctype()
	return "WPA2 PSK (CCMP)"
end

function dummy.assoclist()
	return {}
end

function dummy.txpwrlist()
	return {
		{ dbm = 0, mw = 1 },
		{ dbm = 6, mw = 3 },
		{ dbm = 8, mw = 6 },
		{ dbm = 10, mw = 10 },
		{ dbm = 12, mw = 15 },
		{ dbm = 14, mw = 25 },
		{ dbm = 16, mw = 39 },
		{ dbm = 18, mw = 63 }
	}
end

function dummy.mbssid_support()
	return 1
end
{'fraction_non_alphanumeric': 0.12243629583592293, 'fraction_numerical': 0.05220633934120572, 'mean_word_length': 3.8059701492537314, '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': '2851709', 'n_tokens_mistral': 697, 'n_tokens_neox': 621, 'n_words': 185}