<commit_before>var path = require('path'),
	os = require('os');

function baseDir(){
	if (os.platform() == 'win32'){
		var dir = path.join(process.env.SystemRoot || process.env.windir, 'Microsoft.NET');
		var isx64 = os.arch() == 'x64';
		return path.join(dir, isx64 ? 'Framework64' : 'Framework');
	}
	// TODO resolve mono dir
	throw new Error('not supported yet!');
}

function dir(framework){<commit_msg>using iswin<commit_after>var path = require('path'),
	os = require('os'),
	iswin = require('iswin');

function baseDir(){
	if (iswin()){
		var dir = path.join(process.env.SystemRoot || process.env.windir, 'Microsoft.NET');
		var isx64 = os.arch() == 'x64';
		return path.join(dir, isx64 ? 'Framework64' : 'Framework');
	}
	// TODO resolve mono dir
	throw new Error('not supported yet!');
}

function dir(framework){
{'fraction_non_alphanumeric': 0.18613138686131386, 'fraction_numerical': 0.021897810218978103, 'mean_word_length': 4.755244755244755, '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': '2831948', 'n_tokens_mistral': 300, 'n_tokens_neox': 282, 'n_words': 71}