<commit_before>export class Point {
	constructor(x, y) {
		this.x = x;
		this.y = y;
	}

	equal({ x, y }) {
		return this.x === x && this.y === y;
	}

	sum({ x, y }) {
		return new Point(this.x + x, this.y + y);
	}

	difference({ x, y }) {
		return new Point(this.x - x, this.y - y);
	}

	product({ x, y }) {
		return new Point(this.x * x, this.y * y);
	}

	lt({ x, y }) {
		return this.x < x && this.y < y;
	}

	lte({ x, y }) {
		return this.x <= x && this.y <= y;
	}

	gt({ x, y }) {
		return this.x > x && this.y > y;
	}

	gte({ x, y }) {
		return this.x >= x && this.y >= y;
	}

	*to(to) {
		const [[x0, x1],[y0, y1]] = [
			[Math.min(this.x, to.x), Math.max(this.x, to.x)],
			[Math.min(this.y, to.y), Math.max(this.y, to.y)],
		];
		for(var i = y0; i < y1; i++) {
			for(var j = x0; j < x1; j++) {
				yield new Point(j, i);
			}
		}
	}
}<commit_msg>point: remove half-baked method Point#to<commit_after>export class Point {
	constructor(x, y) {
		this.x = x;
		this.y = y;
	}

	equal({ x, y }) {
		return this.x === x && this.y === y;
	}

	sum({ x, y }) {
		return new Point(this.x + x, this.y + y);
	}

	difference({ x, y }) {
		return new Point(this.x - x, this.y - y);
	}

	product({ x, y }) {
		return new Point(this.x * x, this.y * y);
	}

	lt({ x, y }) {
		return this.x < x && this.y < y;
	}

	lte({ x, y }) {
		return this.x <= x && this.y <= y;
	}

	gt({ x, y }) {
		return this.x > x && this.y > y;
	}

	gte({ x, y }) {
		return this.x >= x && this.y >= y;
	}
}
{'fraction_non_alphanumeric': 0.2401894451962111, 'fraction_numerical': 0.005412719891745603, 'mean_word_length': 2.140127388535032, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, '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': '2428174', 'n_tokens_mistral': 743, 'n_tokens_neox': 685, 'n_words': 185}