<commit_before>package stray;

import java.util.HashMap;

public class Levels {
	
	public static final int LEVELS_PER_CHAPTER = 8;
	
	private static Levels instance;

	private Levels() {
	}

	public static Levels instance() {
		if (instance == null) {
			instance = new Levels();
			instance.loadResources();
		}
		return instance;
	}

	public HashMap<Integer, LevelData> levels = new HashMap<Integer, LevelData>();
	public HashMap<LevelData, Integer> reverse = new HashMap<LevelData, Integer>();
	
	private void loadResources() {
		levels.clear();
		
		add(new LevelData("level1-1").setCutscene("beginning"));
		add(new LevelData("level1-2"));
		add(new LevelData("level1-3"));
		add(new LevelData("level1-4"));
		add(new LevelData("level1-5"));
		add(new LevelData("level1-6"));
		add(new LevelData("level1-7"));
		add(new LevelData("level1-8"));
	}
	
	private int num = 0;
	
	private void add(LevelData l){
		levels.put(num, l);
		reverse.put(l, num);
		num++;
	}
	
	public static String getLevelName(int level, int groupnum){
		return ((level / groupnum) + 1) + "-" + ((level % groupnum) + 1);
	}
}<commit_msg>Level 1-1's cutscene is back to controls<commit_after>package stray;

import java.util.HashMap;

public class Levels {
	
	public static final int LEVELS_PER_CHAPTER = 8;
	
	private static Levels instance;

	private Levels() {
	}

	public static Levels instance() {
		if (instance == null) {
			instance = new Levels();
			instance.loadResources();
		}
		return instance;
	}

	public HashMap<Integer, LevelData> levels = new HashMap<Integer, LevelData>();
	public HashMap<LevelData, Integer> reverse = new HashMap<LevelData, Integer>();
	
	private void loadResources() {
		levels.clear();
		
		add(new LevelData("level1-1").setCutscene("controls"));
		add(new LevelData("level1-2"));
		add(new LevelData("level1-3"));
		add(new LevelData("level1-4"));
		add(new LevelData("level1-5"));
		add(new LevelData("level1-6"));
		add(new LevelData("level1-7"));
		add(new LevelData("level1-8"));
	}
	
	private int num = 0;
	
	private void add(LevelData l){
		levels.put(num, l);
		reverse.put(l, num);
		num++;
	}
	
	public static String getLevelName(int level, int groupnum){
		return ((level / groupnum) + 1) + "-" + ((level % groupnum) + 1);
	}
}
{'fraction_non_alphanumeric': 0.15527950310559005, 'fraction_numerical': 0.018633540372670808, 'mean_word_length': 4.343601895734597, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '881943', 'n_tokens_mistral': 834, 'n_tokens_neox': 730, 'n_words': 192}