<commit_before>package ie.dit;

public class Pipe {
	float xPos, clearance;
	boolean cashed = false;
	Main parent; // The parent PApplet that we will render ourselves onto

	Pipe(int i, Main p) {
		parent = p;

		xPos = 100 + (i * 200);
		clearance = parent.random(200) + 100;
	}
	void drawPipe() {

		parent.fill(122, 48, 0);
		parent.rect(xPos, 0, 50, clearance - 80);
		parent.rect(xPos, clearance + 80, 50, 500);
	}
	void checkPosition() {

		if (xPos < 0)
			{
			
		}
	if (xPos < 250 && !cashed) {
			
		}

}
<commit_msg>pipe method modified<commit_after>package ie.dit;

public class Pipe {
	float xPos, clearance;
	boolean cashed = false;
	Main parent; // The parent PApplet that we will render ourselves onto

	Pipe(int i, Main p) {
		parent = p;

		xPos = 100 + (i * 200);
		clearance = parent.random(200) + 100;
	}
	void drawPipe() {

		parent.fill(122, 48, 0);
		parent.rect(xPos, 0, 50, clearance - 80);
		parent.rect(xPos, clearance + 80, 50, 500);
	}
	void checkPosition() {

		if (xPos < 0) {
			xPos += (200 * 3);
			clearance = parent.random(200) + 100;
			cashed = false;
		}

		if (xPos < 250 && !cashed) {
			cashed = true;

			parent.incScore();
		}

	}

}

{'fraction_non_alphanumeric': 0.1450381679389313, 'fraction_numerical': 0.06615776081424936, 'mean_word_length': 2.9072847682119205, 'pattern_counts': {'":': 0, '<': 7, '<?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': '312759', 'n_tokens_mistral': 577, 'n_tokens_neox': 450, 'n_words': 131}