<commit_before>package restaurant;

import agent.Agent;
import restaurant.WaiterAgent;
import restaurant.gui.*;

import java.util.*;

public class CookAgent extends Agent{
    private String name = "TheBestCook";
    public List<MarketAgent> markets = new ArrayList<MarketAgent>();
    int market_index = 0;
	public List<Order> orders = Collections.synchronizedList(new ArrayList<Order>());
	public Map<String, Food> inventory = new HashMap<String, Food>();
	Timer timer = new Timer();
	public CookGui cookGui = null;
	boolean lowInFood = false;
	
	public CookAgent() {
		super();
		inventory.put("Steak", new Food("Steak", 5000, 1, 3, 5));
		inventory.put("Chicken", new Food("Chicken", 4000, 1, 3, 5));
		inventory.put("Salad", new Food("Salad", 1000, 1, 3, 5));
		inventory.put("Pizza", new Food("Pizza", 3000, 1, 3, 5));
	}

	public void setGui(CookGui gui){
		cookGui = gui;
	}
	
	public String getName() {
		return name;
	}

	public void addMarket(MarketAgent market) {
		markets.add(market);
	}
	
	// Messages<commit_msg>scenario 2 finished close #3<commit_after>package restaurant;

import agent.Agent;
import restaurant.WaiterAgent;
import restaurant.gui.*;

import java.util.*;

public class CookAgent extends Agent{
    private String name = "TheBestCook";
    public List<MarketAgent> markets = new ArrayList<MarketAgent>();
    int market_index = 0;
	public List<Order> orders = Collections.synchronizedList(new ArrayList<Order>());
	public Map<String, Food> inventory = new HashMap<String, Food>();
	Timer timer = new Timer();
	public CookGui cookGui = null;
	boolean lowInFood = false;
	
	public CookAgent() {
		super();
		inventory.put("Steak", new Food("Steak", 5000, 1, 3, 5));
		inventory.put("Chicken", new Food("Chicken", 4000, 1, 3, 5));
		inventory.put("Salad", new Food("Salad", 1000, 0, 3, 5));
		inventory.put("Pizza", new Food("Pizza", 3000, 1, 3, 5));
	}

	public void setGui(CookGui gui){
		cookGui = gui;
	}
	
	public String getName() {
		return name;
	}

	public void addMarket(MarketAgent market) {
		markets.add(market);
	}
	
	// Messages
{'fraction_non_alphanumeric': 0.14340898116851764, 'fraction_numerical': 0.028971511347175277, 'mean_word_length': 4.645776566757493, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '4414525', 'n_tokens_mistral': 772, 'n_tokens_neox': 662, 'n_words': 199}