<commit_before>var Rect = function(x, y, width, height)
{
	this.x = x
	this.y = y
	this.width = width
	this.height = height
}

Rect.prototype.moveTo = function(x, y)
{
	this.x = x
	this.y = y
}

Rect.prototype.moveBy = function(x, y)
{
	this.x += x
	this.y += y
}
<commit_msg>Wrote Rect#contains<commit_after>var Rect = function(x, y, width, height)
{
	this.x = x
	this.y = y
	this.width = width
	this.height = height
}

Rect.prototype.moveTo = function(x, y)
{
	this.x = x
	this.y = y
}

Rect.prototype.moveBy = function(x, y)
{
	this.x += x
	this.y += y
}

Rect.prototype.contains = function(x, y)
{
	return !(
		x < this.x ||
		y < this.y ||
		x > this.x + this.width ||
		y > this.y + this.height
	)
}

{'fraction_non_alphanumeric': 0.16997167138810199, 'fraction_numerical': 0.0, 'mean_word_length': 2.8633879781420766, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3792654', 'n_tokens_mistral': 313, 'n_tokens_neox': 309, 'n_words': 71}