<commit_before>users = [
	_ =
		id: "1"
		username: "bob"
		password: "<PASSWORD>"
		name: "<NAME>"
	_ =
		id: "2"
		username: "joe"
		password: "password"
		name: "<NAME>"
]

# TODO Obviously stubbed.

service =
	find: (id, done) ->
		for user in users
			if user.id == id then return done null, users
		return done null, null
	findByUsername: (username, done) ->
		for user in users
			if user.username == username then return done null, user
		return done null, null

module.exports = service
<commit_msg>Fixed typo in stubbed user service<commit_after>users = [
	_ =
		id: "1"
		username: "bob"
		password: "<PASSWORD>"
		name: "<NAME>"
	_ =
		id: "2"
		username: "joe"
		password: "password"
		name: "<NAME>"
]

# TODO Obviously stubbed.

service =
	find: (id, done) ->
		for user in users
			if user.id == id then return done null, user
		return done null, null
	findByUsername: (username, done) ->
		for user in users
			if user.username == username then return done null, user
		return done null, null

module.exports = service

{'fraction_non_alphanumeric': 0.12548262548262548, 'fraction_numerical': 0.003861003861003861, 'mean_word_length': 3.2851239669421486, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '353019', 'n_tokens_mistral': 392, 'n_tokens_neox': 357, 'n_words': 127}