<commit_before>package probability;

public class TestAgent {

	private int age = 24;
	private int ageCat = 1;
	private int gender = 1;
	private int race = 3;
	private int marital = 1;
	private int income = 3;
	private int edu = 2;

	public int getValue(String parameter) {

		switch (parameter) {
		case "age":
			return getAge();
		case "ageCat":
			return getAgeCat();
		case "gender":
			return getGender();
		case "race":
			return getRace();
		case "marital":
			return getMarital();
		case "education":
			return getEdu();
		case "income":
			return getIncome();

		}
		return 0;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getAgeCat() {
		return ageCat;
	}

	public void setAgeCat(int ageCat) {
		this.ageCat = ageCat;
	}

	public int getRace() {
		return race;
	}

	public void setRace(int race) {
		this.race = race;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public int getMarital() {
		return marital;
	}

	public void setMarital(int marital) {
		this.marital = marital;
	}

	public int getIncome() {
		return income;
	}

	public void setIncome(int income) {
		this.income = income;
	}

	public int getEdu() {
		return edu;
	}

	public void setEdu(int edu) {
		this.edu = edu;
	}

}
<commit_msg>Changed switch statement to match actual agent variable<commit_after>package probability;

public class TestAgent {

	private int age = 24;
	private int ageCat = 1;
	private int gender = 1;
	private int race = 3;
	private int marital = 1;
	private int income = 3;
	private int edu = 2;

	public int getValue(String parameter) {

		switch (parameter) {
		case "age":
			return getAge();
		case "ageCat":
			return getAgeCat();
		case "gender":
			return getGender();
		case "race":
			return getRace();
		case "marital":
			return getMarital();
		case "edu":
			return getEdu();
		case "income":
			return getIncome();

		}
		return 0;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getAgeCat() {
		return ageCat;
	}

	public void setAgeCat(int ageCat) {
		this.ageCat = ageCat;
	}

	public int getRace() {
		return race;
	}

	public void setRace(int race) {
		this.race = race;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public int getMarital() {
		return marital;
	}

	public void setMarital(int marital) {
		this.marital = marital;
	}

	public int getIncome() {
		return income;
	}

	public void setIncome(int income) {
		this.income = income;
	}

	public int getEdu() {
		return edu;
	}

	public void setEdu(int edu) {
		this.edu = edu;
	}

}

{'fraction_non_alphanumeric': 0.11355311355311355, 'fraction_numerical': 0.006593406593406593, 'mean_word_length': 3.1253776435045317, 'pattern_counts': {'":': 14, '<': 3, '<?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': '7533431', 'n_tokens_mistral': 1141, 'n_tokens_neox': 975, 'n_words': 299}