<commit_before>function ArticlesController($scope, $routeParams, $location, Global, Articles) {
	$scope.global = Global;

	$scope.create = function () {
		var article = new Articles({ title: this.title, content: this.content });
		article.$save(function (response) {
			$location.path("articles/" + response._id);
		});

		this.title = "";
		this.content = "";
	};

	$scope.remove = function (article) {
		article.$remove();

		for (var i in $scope.articles) {
			if ($scope.articles[i] == article) {
				$scope.articles.splice(i, 1)
			}
		}
	};

	$scope.update = function () {
		var article = $scope.article;
		if (!article.updated) {
			article.updated = [];
		}
		article.updated.push(new Date().getTime());

		article.$update(function () {
			$location.path('articles/' + article._id);
		});
	};

	$scope.find = function (query) {
		Articles.query(query, function (articles) {
			$scope.articles = articles;
		});
	};
<commit_msg>Added a missing semicolon for consistency.<commit_after>function ArticlesController($scope, $routeParams, $location, Global, Articles) {
	$scope.global = Global;

	$scope.create = function () {
		var article = new Articles({ title: this.title, content: this.content });
		article.$save(function (response) {
			$location.path("articles/" + response._id);
		});

		this.title = "";
		this.content = "";
	};

	$scope.remove = function (article) {
		article.$remove();

		for (var i in $scope.articles) {
			if ($scope.articles[i] == article) {
				$scope.articles.splice(i, 1);
			}
		}
	};

	$scope.update = function () {
		var article = $scope.article;
		if (!article.updated) {
			article.updated = [];
		}
		article.updated.push(new Date().getTime());

		article.$update(function () {
			$location.path('articles/' + article._id);
		});
	};

	$scope.find = function (query) {
		Articles.query(query, function (articles) {
			$scope.articles = articles;
		});
	};

{'fraction_non_alphanumeric': 0.1831578947368421, 'fraction_numerical': 0.0010526315789473684, 'mean_word_length': 3.647921760391198, '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': '7370692', 'n_tokens_mistral': 710, 'n_tokens_neox': 611, 'n_words': 123}