<commit_before>package org.example.learn;

import java.util.ArrayList;

public class Demo {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		String testMessage = "This is an another test message";
		String mySecondMessage = " demo";
		System.out.println("This is a test message");
		System.out.println(testMessage+mySecondMessage);
		
		int firstNumber = 55;
		int secondNumber = 5;
		int result = (firstNumber + secondNumber) * 5;
		System.out.println(result);
		
		double myValue = 1234.56789;
		double mySecondValue = 3.145689874652354376;
		System.out.println(myValue + mySecondValue);
		
		player tim = new player();
		System.out.println(tim.getHandleName());
		System.out.println(tim.getLives());
		System.out.println(tim.getLevel());
		System.out.println(tim.getScore());
		
		tim.setHandleName("Swa");
		System.out.println(tim.getHandleName());
		
		player tim2 = new player();
		tim2.setNameAndLevel("SWa", 5);
		System.out.println(tim2.getHandleName());
		System.out.println(tim2.getLevel());
		
		player tim3 = new player("Swass");
		System.out.println(tim3.getHandleName());
		
		System.out.println(tim.getWeapon().getName());
		
		Weapon myAxe = new Weapon("Axe",10,35);
		tim.setWeapon(myAxe);
		System.out.println(tim.getWeapon().getName());
		
		InventoryItem redPotion = new InventoryItem(ItemType.POTION, "Red Potion");
		tim.addInventoryItem(redPotion);
		tim.addInventoryItem(new InventoryItem(ItemType.ARMOR,"+3 Chest Armor"));
		tim.addInventoryItem(new InventoryItem(ItemType.RING, "Ring of protection +2"));
		tim.addInventoryItem(new InventoryItem(ItemType.POTION, "Invisibility Potion"));
		
		InventoryItem bluePotion = new InventoryItem(ItemType.POTION,"Blue Potion");
		tim.addInventoryItem(bluePotion);
		boolean wasDeleted = tim.dropInventoryItem(redPotion);
		System.out.println(wasDeleted);
		
		ArrayList<InventoryItem> allItems = tim.getInventoryItems();
		for(InventoryItem item : allItems) {
			System.out.println(item.getName());
		}
	}

}<commit_msg>from git plugin in eclipse<commit_after>package org.example.learn;

import java.util.ArrayList;

public class Demo {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		String testMessage = "This is an another test message";
		String mySecondMessage = " demo";
		System.out.println("This is a test message");
		System.out.println(testMessage+mySecondMessage);
		
		int firstNumber = 55;
		int secondNumber = 5;
		int result = (firstNumber + secondNumber) * 5;
		System.out.println(result);
		
		double myValue = 1234.56789;
		double mySecondValue = 3.145689874652354376;
		System.out.println(myValue + mySecondValue);
		
		player tim = new player();
		System.out.println(tim.getHandleName());
		System.out.println(tim.getLives());
		System.out.println(tim.getLevel());
		System.out.println(tim.getScore());
		
		tim.setHandleName("Swa");
		System.out.println(tim.getHandleName());
		
		player tim2 = new player();
		tim2.setNameAndLevel("SWa", 5);
		System.out.println(tim2.getHandleName());
		System.out.println(tim2.getLevel());
		
		player tim3 = new player("Swass");
		System.out.println(tim3.getHandleName());
		
		System.out.println(tim.getWeapon().getName());
		
		Weapon myAxe = new Weapon("Axe",10,35);
		tim.setWeapon(myAxe);
		System.out.println(tim.getWeapon().getName());
		
		InventoryItem redPotion = new InventoryItem(ItemType.POTION, "Red Potion");
		tim.addInventoryItem(redPotion);
		tim.addInventoryItem(new InventoryItem(ItemType.ARMOR,"+3 Chest Armor"));
		tim.addInventoryItem(new InventoryItem(ItemType.RING, "Ring of protection +2"));
		tim.addInventoryItem(new InventoryItem(ItemType.POTION, "Invisibility Potion"));
		
		InventoryItem bluePotion = new InventoryItem(ItemType.POTION,"Blue Potion");
		tim.addInventoryItem(bluePotion);
		boolean wasDeleted = tim.dropInventoryItem(redPotion);
		System.out.println(wasDeleted);
		
		ArrayList<InventoryItem> allItems = tim.getInventoryItems();
		for(InventoryItem item : allItems) {
			System.out.println(item.getName());
		}
		
		System.out.printl("From git repo");
	}

}
{'fraction_non_alphanumeric': 0.13787213274768179, 'fraction_numerical': 0.021961932650073207, 'mean_word_length': 4.897841726618705, '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': '545017', 'n_tokens_mistral': 1547, 'n_tokens_neox': 1324, 'n_words': 249}