<commit_before>using UnityEngine;
using System.Collections;

public class Hero : MonoBehaviour
{
    public AchievementManager AchievementManager;

    private bool inStealthMode = false;
    private int currentLevel = 0;
    private int numRedPotions = 0;
    private int numBluePotions = 0;
    private int numGreenPotions = 0;
    
	void Start()
    {
        LevelUp();
	}

    private void LevelUp()
    {
        currentLevel++;
        AchievementManager.AddProgressToAchievement("Junior Hero", 1.0f);
        AchievementManager.AddProgressToAchievement("Experienced Hero", 1.0f);
    }
	
	void Update()
    {
        if (inStealthMode)<commit_msg>Adds some comments.<commit_after>using UnityEngine;
using System.Collections;

// This Hero class sets up a simple GUI and allows the player to click buttons to do things like buy potions
// and kill dragons. Hero also communicates with the AchievementManager to track progress.

public class Hero : MonoBehaviour
{
    public AchievementManager AchievementManager;

    private bool inStealthMode = false;
    private int currentLevel = 0;
    private int numRedPotions = 0;
    private int numBluePotions = 0;
    private int numGreenPotions = 0;
    
	void Start()
    {
        LevelUp();
	}

    private void LevelUp()
    {
        currentLevel++;
        AchievementManager.AddProgressToAchievement("Junior Hero", 1.0f);
        AchievementManager.AddProgressToAchievement("Experienced Hero", 1.0f);
    }
	
	void Update()
    {
        if (inStealthMode)
{'fraction_non_alphanumeric': 0.07580751483190508, 'fraction_numerical': 0.01054713249835201, 'mean_word_length': 3.125, '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': '77849', 'n_tokens_mistral': 467, 'n_tokens_neox': 428, 'n_words': 130}