<commit_before>package edu.oregonstate.cope.clientRecorder;

import org.json.simple.JSONObject;

/**
 * Records text changes and test runs from the IDE. Encodes changes in JSON
 * format.
 */

public class ClientRecorder {

	private String IDE;

	protected enum EventType {
		debugLaunch, normalLaunch, fileOpen, fileClose, textChange, testRun
	};

	public String getIDE() {
		return IDE;
	}

	public void setIDE(String IDE) {
		this.IDE = IDE;<commit_msg>Added event types to the ClientRecorder plugin<commit_after>package edu.oregonstate.cope.clientRecorder;

import org.json.simple.JSONObject;

/**
 * Records text changes and test runs from the IDE. Encodes changes in JSON
 * format.
 */

public class ClientRecorder {

	private String IDE;
	
	public static final String USER_CHANGE = "user";
	public static final String REFACTORING_CHANGE = "refactoring";
	public static final String UI_EVENT = "ui-event";
	public static final String ECLIPSE_IDE = "eclipse";

	protected enum EventType {
		debugLaunch, normalLaunch, fileOpen, fileClose, textChange, testRun
	};

	public String getIDE() {
		return IDE;
	}

	public void setIDE(String IDE) {
		this.IDE = IDE;
{'fraction_non_alphanumeric': 0.08497854077253218, 'fraction_numerical': 0.0, 'mean_word_length': 4.398148148148148, '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': '5017188', 'n_tokens_mistral': 374, 'n_tokens_neox': 350, 'n_words': 117}