<commit_before>define([
	'intern!object',
	'intern/chai!assert',
	'dojo/request',
	'dojo/promise/all',
	'dojo/_base/declare',
	'dstore/Csv',
	'dstore/Memory',
	'dojo/text!./data/noquote.csv',
	'dojo/text!./data/quote.csv',
	'dojo/text!./data/contributors.csv',
],
		function (registerSuite, assert, request, all, declare, Csv, Memory, noquote, quote, contributors) {
	var CsvMemory = declare([Memory, Csv]);
	var xhrBase = require.toUrl('dstore/tests/data');
	var csvs = {}; // holds retrieved raw CSV data
	var stores = window.stores = {}; // holds stores created after CSV data is retrieved
	csvs.noQuote = noquote;
	stores.noQuoteNoHeader = new CsvMemory({
		data: noquote,
		newline: '\n',
		fieldNames: ['id', 'last', 'first', 'born', 'died']
	});
	stores.noQuoteWithHeader = new CsvMemory({
		data: noquote,
		newline: '\n'
		// No fieldNames; first row will be treated as header row.
	});
	stores.noQuoteTrim = new CsvMemory({
		data: noquote,
		newline: '\n',
		trim: true
	});
	csvs.quote = quote;
	stores.quoteNoHeader = new CsvMemory({
		data: quote,
		newline: '\n',
		fieldNames: ['id', 'name', 'quote']
	});
	stores.quoteWithHeader = new CsvMemory({
		data: quote,
		newline: '\n'
		// No fieldNames; first row will be treated as header row.
	});<commit_msg>Remove global variable reference<commit_after>define([
	'intern!object',
	'intern/chai!assert',
	'dojo/request',
	'dojo/promise/all',
	'dojo/_base/declare',
	'dstore/Csv',
	'dstore/Memory',
	'dojo/text!./data/noquote.csv',
	'dojo/text!./data/quote.csv',
	'dojo/text!./data/contributors.csv',
],
		function (registerSuite, assert, request, all, declare, Csv, Memory, noquote, quote, contributors) {
	var CsvMemory = declare([Memory, Csv]);
	var xhrBase = require.toUrl('dstore/tests/data');
	var csvs = {}; // holds retrieved raw CSV data
	var stores = {}; // holds stores created after CSV data is retrieved
	csvs.noQuote = noquote;
	stores.noQuoteNoHeader = new CsvMemory({
		data: noquote,
		newline: '\n',
		fieldNames: ['id', 'last', 'first', 'born', 'died']
	});
	stores.noQuoteWithHeader = new CsvMemory({
		data: noquote,
		newline: '\n'
		// No fieldNames; first row will be treated as header row.
	});
	stores.noQuoteTrim = new CsvMemory({
		data: noquote,
		newline: '\n',
		trim: true
	});
	csvs.quote = quote;
	stores.quoteNoHeader = new CsvMemory({
		data: quote,
		newline: '\n',
		fieldNames: ['id', 'name', 'quote']
	});
	stores.quoteWithHeader = new CsvMemory({
		data: quote,
		newline: '\n'
		// No fieldNames; first row will be treated as header row.
	});
{'fraction_non_alphanumeric': 0.17039654495484885, 'fraction_numerical': 0.0, 'mean_word_length': 4.1062124248497, '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': '6364240', 'n_tokens_mistral': 991, 'n_tokens_neox': 928, 'n_words': 238}