<commit_before>package wordcram;

import java.awt.*;
import java.awt.geom.Area;
import processing.core.PImage;
import java.util.ArrayList;

public class ImageShaper {

	public static int TOLERANCE = 5;

	public Shape shape(PImage image, int color) {
		RectTree tree = new RectTree(0, 0, image.width, image.height);
		return tree.toShape(image, color);
	}

	class RectTree {
		ArrayList<RectTree> kids = null;

		int left; int top; int right; int bottom;
		int width; int height;
		RectTree(int l, int t, int r, int b) {
			left = l;
			top = t;
			right = r;
			bottom = b;

			width = right - left;<commit_msg>Delete unused ImageShaper TOLERANCE constant<commit_after>package wordcram;

import java.awt.*;
import java.awt.geom.Area;
import processing.core.PImage;
import java.util.ArrayList;

public class ImageShaper {

	public Shape shape(PImage image, int color) {
		RectTree tree = new RectTree(0, 0, image.width, image.height);
		return tree.toShape(image, color);
	}

	class RectTree {
		ArrayList<RectTree> kids = null;

		int left; int top; int right; int bottom;
		int width; int height;
		RectTree(int l, int t, int r, int b) {
			left = l;
			top = t;
			right = r;
			bottom = b;

			width = right - left;
{'fraction_non_alphanumeric': 0.11001642036124795, 'fraction_numerical': 0.004105090311986864, 'mean_word_length': 3.6, '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': '641288', 'n_tokens_mistral': 460, 'n_tokens_neox': 412, 'n_words': 138}