<commit_before>describe("Akihabara", function () {
	it("should have the major 2 version", function () {
		expect(Akihabara.VERSION).toEqual("2.0.0");
	});

	it("should extend from a module", function () {
		var AkihabaraTopview = {a: 1, b: 2, c: "three"};
		var withNewFunctions = {c: 3, d: "four"};
		var newTopview = Akihabara.extendsFrom(AkihabaraTopview, withNewFunctions);

		expect(newTopview).toEqual({a: 1, b: 2, c: 3, d: "four"});
	});

	it("should receive a new object with the same properties than the old one", function () {
		var obj = {a: 1, b: 2, c: "three"};
		expect(Akihabara.cloneObject(obj)).toEqual(obj);
	});

	it("should create a new model with custom params based on a given one", function () {
		var obj = {a: 1, b: 2, c: "three"};
		expect(
			Akihabara.createModel(obj, ["a", "c"])
		).toEqual({a: 1, c: "three"});
	});
});
<commit_msg>Adding a test for copy model<commit_after>describe("Akihabara", function () {
	it("should have the major 2 version", function () {
		expect(Akihabara.VERSION).toEqual("2.0.0");
	});

	it("should extend from a module", function () {
		var AkihabaraTopview = {a: 1, b: 2, c: "three"};
		var withNewFunctions = {c: 3, d: "four"};
		var newTopview = Akihabara.extendsFrom(AkihabaraTopview, withNewFunctions);

		expect(newTopview).toEqual({a: 1, b: 2, c: 3, d: "four"});
	});

	it("should receive a new object with the same properties than the old one", function () {
		var obj = {a: 1, b: 2, c: "three"};
		expect(Akihabara.copyModel(obj)).toEqual(obj);
	});

	it("should receive a new object with the same properties than the old one", function () {
		var obj = {a: 1, b: 2, c: "three"};
		var copy = {a: 2, b: 3, c: "four"};
		expect(Akihabara.cloneObject(obj, copy)).toEqual(obj);
	});

	it("should create a new model with custom params based on a given one", function () {
		var obj = {a: 1, b: 2, c: "three"};
		expect(
			Akihabara.createModel(obj, ["a", "c"])
		).toEqual({a: 1, c: "three"});
	});
});

{'fraction_non_alphanumeric': 0.18588115794819707, 'fraction_numerical': 0.017267648552564754, 'mean_word_length': 4.267379679144385, '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': '2935848', 'n_tokens_mistral': 785, 'n_tokens_neox': 712, 'n_words': 227}