<commit_before>package com.namelessmc.java_api;

import com.google.gson.JsonObject;

public class Group implements Comparable<Group> {

	private final int id;
	private final String name;
	private final int order;
	private final boolean staff;

	Group(final JsonObject group) {
		this.id = group.get("id").getAsInt();
		this.name = group.get("name").getAsString();
		this.order = group.has("order") ? group.get("order").getAsInt() : -1;
		this.staff = group.has("staff") && group.get("staff").getAsBoolean();
	}

	public int getId() {
		return this.id;
	}

	public String getName() {
		return this.name;
	}

	public int getOrder() {
		return this.order;
	}

	public boolean isStaff() {
		return this.staff;<commit_msg>order is always present in Group<commit_after>package com.namelessmc.java_api;

import com.google.gson.JsonObject;

public class Group implements Comparable<Group> {

	private final int id;
	private final String name;
	private final int order;
	private final boolean staff;

	Group(final JsonObject group) {
		this.id = group.get("id").getAsInt();
		this.name = group.get("name").getAsString();
		this.order = group.get("order").getAsInt();
		this.staff = group.has("staff") && group.get("staff").getAsBoolean();
	}

	public int getId() {
		return this.id;
	}

	public String getName() {
		return this.name;
	}

	public int getOrder() {
		return this.order;
	}

	public boolean isStaff() {
		return this.staff;
{'fraction_non_alphanumeric': 0.13875262789067974, 'fraction_numerical': 0.000700770847932726, 'mean_word_length': 4.25, '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': '4214050', 'n_tokens_mistral': 497, 'n_tokens_neox': 465, 'n_words': 120}