<commit_before>// example sample data and code
define(["dojo/store/Memory", "dojo/store/Observable"],function(Memory, Observable){
	// some sample data
	// global var "data"
	data = {
		identifier: 'id',
		label: 'id',
		items: []
	};
	data_list = [ 
		{ col1: "normal", col2: false, col3: "new", col4: 'But are not followed by two hexadecimal', col5: 29.91, col6: 10, col7: false },
		{ col1: "important", col2: false, col3: "new", col4: 'Because a % sign always indicates', col5: 9.33, col6: -5, col7: false },
		{ col1: "important", col2: false, col3: "read", col4: 'Signs can be selectively', col5: 19.34, col6: 0, col7: true },
		{ col1: "note", col2: false, col3: "read", col4: 'However the reserved characters', col5: 15.63, col6: 0, col7: true },
		{ col1: "normal", col2: false, col3: "replied", col4: 'It is therefore necessary', col5: 24.22, col6: 5.50, col7: true },
		{ col1: "important", col2: false, col3: "replied", col4: 'To problems of corruption by', col5: 9.12, col6: -3, col7: true },
		{ col1: "note", col2: false, col3: "replied", col4: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris', col5: 12.15, col6: -4, col7: false }
	];
	var rows = 100;
	for(var i=0, l=data_list.length; i<rows; i++){
		data.items.push(dojo.mixin({ id: i }, data_list[i%l]));
	}

	// global var "test_store"
	testStore = Observable(Memory({data: data}));

	var typesData = [];
	for(var i = 0; i < 20; i++){
		typesData.push({
			id: i,
			integer: Math.floor(Math.random() * 100),
			floatNum: Math.random() * 100,
			date: new Date(new Date().getTime() * Math.random() * 2),
			date2: new Date(new Date().getTime() - Math.random() * 1000000000),
			text: "A number in text " + Math.random(),
			bool: Math.random() > 0.5,
			bool2: Math.random() > 0.5
		});
	}
	testTypesStore = Observable(Memory({data: typesData}));
	
	testCountryStore = Observable(new Memory({
		data: [
			{ id: 'AF', name:'Africa', type:'continent', population:'900 million', area: '30,221,532 sq km',
					timezone: '-1 UTC to +4 UTC'},
				{ id: 'EG', name:'Egypt', type:'country', parent: 'AF' },
				{ id: 'KE', name:'Kenya', type:'country', parent: 'AF'},
					{ id: 'Nairobi', name:'Nairobi', type:'city', parent: 'KE' },
					{ id: 'Mombasa', name:'Mombasa', type:'city', parent: 'KE' },
				{ id: 'SD', name:'Sudan', type:'country', parent: 'AF'},
					{ id: 'Khartoum', name:'Khartoum', type:'city', parent: 'SD' },
				{ id: 'AS', name:'Asia', type:'continent'},
					{ id: 'CN', name:'China', type:'country', parent: 'AS' },
					{ id: 'IN', name:'India', type:'country', parent: 'AS' },
					{ id: 'RU', name:'Russia', type:'country', parent: 'AS' },
					{ id: 'MN', name:'Mongolia', type:'country', parent: 'AS' },
				{ id: 'OC', name:'Oceania', type:'continent', population:'21 million'},
				{ id: 'AU', name:'Australia', type:'country', population:'21 million', parent: 'OC' },
				{ id: 'EU', name:'Europe', type:'continent' },
				{ id: 'DE', name:'Germany', type:'country', parent: 'EU' },
				{ id: 'FR', name:'France', type:'country', parent: 'EU' },
				{ id: 'ES', name:'Spain', type:'country', parent: 'EU' },
				{ id: 'IT', name:'Italy', type:'country', parent: 'EU' },
			{ id: 'NA', name:'North America', type:'continent'},
				{ id: 'MX', name:'Mexico', type:'country',  population:'108 million', area:'1,972,550 sq km', parent: 'NA' },
					{ id: 'Mexico City', name:'Mexico City', type:'city', population:'19 million', timezone:'-6 UTC', parent: 'MX'},
					{ id: 'Guadalajara', name:'Guadalajara', type:'city', population:'4 million', timezone:'-6 UTC', parent: 'MX' },
				{ id: 'CA', name:'Canada', type:'country',  population:'33 million', area:'9,984,670 sq km', parent: 'NA' },
					{ id: 'Ottawa', name:'Ottawa', type:'city', population:'0.9 million', timezone:'-5 UTC', parent: 'CA'},
					{ id: 'Toronto', name:'Toronto', type:'city', population:'2.5 million', timezone:'-5 UTC', parent: 'CA' },
				{ id: 'US', name:'United States of America', type:'country', parent: 'NA' },
			{ id: 'SA', name:'South America', type:'continent' },<commit_msg>Comments<commit_after>// example sample data and code
define(["dojo/store/Memory", "dojo/store/Observable"],function(Memory, Observable){
	// some sample data
	// global var "data"
	data = {
		identifier: 'id',
		label: 'id',
		items: []
	};
	data_list = [ 
		{ col1: "normal", col2: false, col3: "new", col4: 'But are not followed by two hexadecimal', col5: 29.91, col6: 10, col7: false },
		{ col1: "important", col2: false, col3: "new", col4: 'Because a % sign always indicates', col5: 9.33, col6: -5, col7: false },
		{ col1: "important", col2: false, col3: "read", col4: 'Signs can be selectively', col5: 19.34, col6: 0, col7: true },
		{ col1: "note", col2: false, col3: "read", col4: 'However the reserved characters', col5: 15.63, col6: 0, col7: true },
		{ col1: "normal", col2: false, col3: "replied", col4: 'It is therefore necessary', col5: 24.22, col6: 5.50, col7: true },
		{ col1: "important", col2: false, col3: "replied", col4: 'To problems of corruption by', col5: 9.12, col6: -3, col7: true },
		{ col1: "note", col2: false, col3: "replied", col4: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris', col5: 12.15, col6: -4, col7: false }
	];
	var rows = 100;
	for(var i=0, l=data_list.length; i<rows; i++){
		data.items.push(dojo.mixin({ id: i }, data_list[i%l]));
	}

	// global var testStore
	testStore = Observable(Memory({data: data}));

	var typesData = [];
	for(var i = 0; i < 20; i++){
		typesData.push({
			id: i,
			integer: Math.floor(Math.random() * 100),
			floatNum: Math.random() * 100,
			date: new Date(new Date().getTime() * Math.random() * 2),
			date2: new Date(new Date().getTime() - Math.random() * 1000000000),
			text: "A number in text " + Math.random(),
			bool: Math.random() > 0.5,
			bool2: Math.random() > 0.5
		});
	}
	// global var testTypesStore
	testTypesStore = Observable(Memory({data: typesData}));
	
	// global var testCountryStore
	testCountryStore = Observable(new Memory({
		data: [
			{ id: 'AF', name:'Africa', type:'continent', population:'900 million', area: '30,221,532 sq km',
					timezone: '-1 UTC to +4 UTC'},
				{ id: 'EG', name:'Egypt', type:'country', parent: 'AF' },
				{ id: 'KE', name:'Kenya', type:'country', parent: 'AF'},
					{ id: 'Nairobi', name:'Nairobi', type:'city', parent: 'KE' },
					{ id: 'Mombasa', name:'Mombasa', type:'city', parent: 'KE' },
				{ id: 'SD', name:'Sudan', type:'country', parent: 'AF'},
					{ id: 'Khartoum', name:'Khartoum', type:'city', parent: 'SD' },
				{ id: 'AS', name:'Asia', type:'continent'},
					{ id: 'CN', name:'China', type:'country', parent: 'AS' },
					{ id: 'IN', name:'India', type:'country', parent: 'AS' },
					{ id: 'RU', name:'Russia', type:'country', parent: 'AS' },
					{ id: 'MN', name:'Mongolia', type:'country', parent: 'AS' },
				{ id: 'OC', name:'Oceania', type:'continent', population:'21 million'},
				{ id: 'AU', name:'Australia', type:'country', population:'21 million', parent: 'OC' },
				{ id: 'EU', name:'Europe', type:'continent' },
				{ id: 'DE', name:'Germany', type:'country', parent: 'EU' },
				{ id: 'FR', name:'France', type:'country', parent: 'EU' },
				{ id: 'ES', name:'Spain', type:'country', parent: 'EU' },
				{ id: 'IT', name:'Italy', type:'country', parent: 'EU' },
			{ id: 'NA', name:'North America', type:'continent'},
				{ id: 'MX', name:'Mexico', type:'country',  population:'108 million', area:'1,972,550 sq km', parent: 'NA' },
					{ id: 'Mexico City', name:'Mexico City', type:'city', population:'19 million', timezone:'-6 UTC', parent: 'MX'},
					{ id: 'Guadalajara', name:'Guadalajara', type:'city', population:'4 million', timezone:'-6 UTC', parent: 'MX' },
				{ id: 'CA', name:'Canada', type:'country',  population:'33 million', area:'9,984,670 sq km', parent: 'NA' },
					{ id: 'Ottawa', name:'Ottawa', type:'city', population:'0.9 million', timezone:'-5 UTC', parent: 'CA'},
					{ id: 'Toronto', name:'Toronto', type:'city', population:'2.5 million', timezone:'-5 UTC', parent: 'CA' },
				{ id: 'US', name:'United States of America', type:'country', parent: 'NA' },
			{ id: 'SA', name:'South America', type:'continent' },
{'fraction_non_alphanumeric': 0.2182033096926714, 'fraction_numerical': 0.03829787234042553, 'mean_word_length': 4.331442974165092, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3553696', 'n_tokens_mistral': 3499, 'n_tokens_neox': 3029, 'n_words': 890}