<commit_before><App>
	<ClientPanel>
		<JavaScript>
		var Observable = require('FuseJS/Observable');

		var name = Observable('Test name for this item!');
		var location = Observable('Location, Place');
		var shutterSpeed = Observable(0.5);
		var aperture = Observable(2.8);
		var iso = Observable(100);
		var notes = Observable('Accidentally screwed this up by leaving shutter open')

		module.exports = {
			name: name,
			location: location,
			shutterSpeed: shutterSpeed,
			aperture: aperture,
			iso: iso,
			notes: notes
		};
		</JavaScript>
		<ScrollView>
			<StackPanel>
				<Text Value="{name}" />

				<Text>Name:</Text>
				<TextBox Value="{name}" />

				<Text>Location:</Text>
				<TextBox Value="{location}" />

				<Text>Shutter speed:</Text>
				<TextBox Value="{shutterSpeed}" InputHint="Decimal" />

				<Text>Aperture:</Text>
				<TextBox Value="{aperture}" InputHint="Decimal" />

				<Text>ISO:</Text>
				<TextBox Value="{iso}" InputHint="Integer" />

				<Text>Notes:</Text>
				<TextBox Value="{notes}" TextWrapping="Wrap" />
			</StackPanel>
		</ScrollView>
	</ClientPanel>
</App><commit_msg>Second step in tutorial<commit_after><App>
	<ClientPanel>
		<JavaScript>
		var Observable = require('FuseJS/Observable');

		var entry = Observable();
		var entries = [
			{
				id: 0,
				name: '<NAME>',
				location: 'Test location, Test place',
				shutterSpeed: 0.5,
				aperture: 2.8,
				iso: 100,
				notes: 'Accidentally screwed this up by leaving the shutter open'
			},
			{
				id: 1,
				name: '<NAME>',
				location: 'Hardanger, Telemark',
				shutterSpeed: 4,
				aperture: 64,
				iso: 100,
				notes: 'Sunny day, no clouds'
			},
			{
				id: 2,
				name: 'Odda',
				location: 'Odda, Someplace',
				shutterSpeed: 8,
				aperture: 44,
				iso: 160,
				notes: 'Used Portra 160 here, don\'t know what will come of this'
			}
		];

		// var name = Observable('Test name for this item!');
		// var location = Observable('Location, Place');
		// var shutterSpeed = Observable(0.5);
		// var aperture = Observable(2.8);
		// var iso = Observable(100);
		// var notes = Observable('Accidentally screwed this up by leaving shutter open')
		var name = entry.map(function (x) { return x.name; });
		var location = entry.map(function (x) { return x.location; });
		var shutterSpeed = entry.map(function (x) { return x.shutterSpeed; });
		var aperture = entry.map(function (x) { return x.aperture; });
		var iso = entry.map(function (x) { return x.iso; });
		var notes = entry.map(function (x) { return x.notes; });

		function chooseEntry(arg) {
			entry.value = arg.data;
		}

		module.exports = {
			entries: entries,

			name: name,
			location: location,
			shutterSpeed: shutterSpeed,
			aperture: aperture,
			iso: iso,
			notes: notes,

			chooseEntry: chooseEntry
		};
		</JavaScript>
		<ScrollView>
			<StackPanel>
				<Each Items="{entries}">
					<Button Text="{name}" Clicked="{chooseEntry}" />
				</Each>

				<Text Value="{name}" />

				<Text>Name:</Text>
				<TextBox Value="{name}" />

				<Text>Location:</Text>
				<TextBox Value="{location}" />

				<Text>Shutter speed:</Text>
				<TextBox Value="{shutterSpeed}" InputHint="Decimal" />

				<Text>Aperture:</Text>
				<TextBox Value="{aperture}" InputHint="Decimal" />

				<Text>ISO:</Text>
				<TextBox Value="{iso}" InputHint="Integer" />

				<Text>Notes:</Text>
				<TextBox Value="{notes}" TextWrapping="Wrap" />
			</StackPanel>
		</ScrollView>
	</ClientPanel>
</App>
{'fraction_non_alphanumeric': 0.16570605187319884, 'fraction_numerical': 0.011239193083573486, 'mean_word_length': 3.2904820766378244, 'pattern_counts': {'":': 0, '<': 66, '<?xml version=': 0, '>': 66, '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': '4684216', 'n_tokens_mistral': 1456, 'n_tokens_neox': 1116, 'n_words': 287}