<commit_before>package cellsociety_team01;
import java.util.*;
import javafx.scene.paint.Color;

public class State {
	private boolean myActive;
	private Color myColor;
	private String myName;

	public State(Color c, String s) {
		myActive = false;
		myName = s;
		myColor = c;
	}

	public boolean equals(State s) {
		if(this.hashCode() == s.hashCode())
			return true;
		return false;
	}

	public int hashCode() {
		int ret = 0;
		for(int i = 0; i < myName.length(); i++){
			ret += myName.charAt(i) * (i + 1);
		}
		ret += myColor.hashCode();
		return ret;
	}

	public void setActive(boolean active) {
		myActive = active;
	} 

	public void setColor(Color color) {
		myColor = color;
	}
}<commit_msg>Added samll tweaks<commit_after>package cellsociety_team01;
import java.util.*;
import javafx.scene.paint.Color;

public class State {
	private boolean myActive;
	private Color myColor;
	private String myName;

	public State(Color c, String s) {
		myActive = false;
		myName = s;
		myColor = c;
	}

	public boolean equals(State s) {
		if(this.hashCode() == s.hashCode())
			return true;
		return false;
	}

	public int hashCode() {
		int ret = 0;
		for(int i = 0; i < myName.length(); i++){
			ret += myName.charAt(i) * (i + 1);
		}
		ret += myColor.hashCode();
		return ret;
	}

	public void setActive(boolean active) {
		myActive = active;
	} 

	public void setColor(Color color) {
		myColor = color;
	}

	public Color getColor() {
		return myColor;
	}

	public boolean isActive() {
		return myActive;
	}
}
{'fraction_non_alphanumeric': 0.12847682119205298, 'fraction_numerical': 0.006622516556291391, 'mean_word_length': 3.4572271386430677, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5981275', 'n_tokens_mistral': 597, 'n_tokens_neox': 537, 'n_words': 154}