<commit_before>package de.doridian.steammobile.friend;

import de.doridian.steammobile.connection.SteamConnection;
import de.doridian.steammobile.methods.ISteamUserOAuth.GetGroupSummaries;
import de.doridian.steammobile.methods.RequestException;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class Friend {
	public enum State {
		OFFLINE(0),
		ONLINE(1),
		INGAME(2),
		AWAY(3),
		SNOOZE(4),
		INVALID(-1);

		int sid;
		State(int id) {
			sid = id;
		}

		public static State getByID(int id) {
			for(State s : State.values()) {
				if(s.sid == id) return s;
			}
			return State.INVALID;<commit_msg>Fixed state 2 (its busy, not ingame)<commit_after>package de.doridian.steammobile.friend;

import de.doridian.steammobile.connection.SteamConnection;
import de.doridian.steammobile.methods.ISteamUserOAuth.GetGroupSummaries;
import de.doridian.steammobile.methods.RequestException;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class Friend {
	public enum State {
		OFFLINE(0),
		ONLINE(1),
		BUSY(2),
		AWAY(3),
		SNOOZE(4),
		INVALID(-1);

		int sid;
		State(int id) {
			sid = id;
		}

		public static State getByID(int id) {
			for(State s : State.values()) {
				if(s.sid == id) return s;
			}
			return State.INVALID;
{'fraction_non_alphanumeric': 0.12403644008409251, 'fraction_numerical': 0.009110021023125438, 'mean_word_length': 4.230769230769231, 'pattern_counts': {'":': 0, '<': 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': '6957557', 'n_tokens_mistral': 576, 'n_tokens_neox': 510, 'n_words': 105}