<commit_before>package es.deusto.deustotech.model;

public interface ICapability {
	
	static enum CAPABILITY {
		//USER
		USER_BRIGHTNESS, USER_CONTRAST, USER_IMAGES, 
		USER_INPUT, USER_LANGUAGE, USER_MAX_TEXT_SIZE, 
		USER_MIN_TEXT_SIZE, USER_OUTPUT, USER_BACKGROUND_COLOR, 
		USER_TEXT_COLOR, USER_EXPERIENCE, USER_VOLUME,
		USER_LOCATION, USER_ACTIVITY, USER_RELATIONSHIP,
		//DEVICE
		DEVICE_RESOLUTION_WIDTH, DEVICE_RESOLUTION_HEIGTH,
		DEVICE_SCREEN_WIDTH, DEVICE_SCREEN_HEIGTH,
		DEVICE_BATTERY_LEVEL, DEVICE_ORIENTATION_MODE,
		DEVICE_AVAILABLE_NETWORKS, DEVICE_BRIGHTNESS,
		DEVICE_VOLUME, DEVICE_ACCELERATION,
		//CONTEXT
		CONTEXT_LIGHTNING, CONTEXT_NOISE,
		CONTEXT_PRESSURE, CONTEXT_TEMPERATURE,
		CONTEXT_CALENDAR, CONTEXT_TIME
	};
	
	//User
	static enum LOCATION {
		HOME, STREET, PUBLIC_BUILDING,
		WORK
	};
	
	static enum BRIGHTNESS {
		DEFAULT, LOW, HIGH, VERY_HIGH, 
		ONLY_LOW, ONLY_HIGH, ONLY_VERY_HIGH
	};
	
	static enum VOLUME {
		DEFAULT, LOW, HIGHT, VERY_HIGH
	};
	
	static enum ACTIVITIES {
		NONE, RESTING, RUNNING
	};
	
	static enum RELATIONSHIP {
		NONE, SOCIAL, WORK
	}
	
	//Context
	static enum ILLUMINANCE {
		// extracted from http://en.wikipedia.org/wiki/Lux
		MOONLESS_OVERCAST_NIGHT, // Moonless, overcast night sky (starlight)
		MOONLESS_CLEAR_NIGHT, // Moonless clear night sky with airglow
		FULL_MOON_CLEAR_NIGHT, // Full moon on a clear night
		TWILIGHT_SKY, // Dark limit of civil twilight under a clear sky
		LIVING_ROOM, // Family living room lights (Australia, 1998)
		TOILET, // Office building hallway/toilet lighting
		VERY_DARK_OVERCAST_DAY, // Very dark overcast day
		OFFICE, // Office lighting
		SUNRISE_CLEAR_DAY, // Sunrise or sunset on a clear day
		OVERCAST_DAY, // Overcast day
		TV_STUDIO, // typical TV studio lighting
		DAYLIGHT, // Full daylight (not direct sun)
		SUNLIGHT, // Direct sunlight
		COMPARISON_UNAVAILABLE // None of the above
	}
	
	static enum NOISE {
		VERY_NOISY, // x >= 110 dB
		NOISY,		// 70 <= x < 110 dB
		STREET,		// 50 <= x < 70 dB
		NOT_NOISY	// 0 <= x < 50 dB 
	};
	
	public Object getCapabilityValue(final CAPABILITY capabilityName);
	public void setCapabilityValue(final CAPABILITY capabilityName, final Object value);
}
<commit_msg>Refactoring<commit_after>package es.deusto.deustotech.model;

public interface ICapability {
	
	static enum CAPABILITY {
		//USER
		USER_BRIGHTNESS, USER_CONTRAST, USER_IMAGES, 
		USER_INPUT, USER_LANGUAGE, USER_MAX_TEXT_SIZE, 
		USER_MIN_TEXT_SIZE, USER_OUTPUT, USER_BACKGROUND_COLOR, 
		USER_TEXT_COLOR, USER_EXPERIENCE, USER_VOLUME,
		USER_LOCATION, USER_ACTIVITY, USER_RELATIONSHIP,
		//DEVICE
		DEVICE_RESOLUTION_WIDTH, DEVICE_RESOLUTION_HEIGTH,
		DEVICE_SCREEN_WIDTH, DEVICE_SCREEN_HEIGTH,
		DEVICE_BATTERY_LEVEL, DEVICE_ORIENTATION_MODE,
		DEVICE_AVAILABLE_NETWORKS, DEVICE_BRIGHTNESS,
		DEVICE_VOLUME, DEVICE_ACCELERATION,
		//CONTEXT
		CONTEXT_LIGHTNING, CONTEXT_NOISE,
		CONTEXT_PRESSURE, CONTEXT_TEMPERATURE,
		CONTEXT_CALENDAR, CONTEXT_TIME
	};
	
	//User
	static enum LOCATION {
		HOME, STREET, PUBLIC_BUILDING,
		WORK
	};
	
	static enum BRIGHTNESS {
		DEFAULT, LOW, HIGH, VERY_HIGH, 
		ONLY_LOW, ONLY_HIGH, ONLY_VERY_HIGH
	};
	
	static enum VOLUME {
		DEFAULT, LOW, HIGHT, VERY_HIGH
	};
	
	static enum ACTIVITIES {
		NONE, RESTING, RUNNING
	};
	
	static enum RELATIONSHIP {
		NONE, SOCIAL, WORK
	}
	
	//Context
	static enum ILLUMINANCE {
		// extracted from http://en.wikipedia.org/wiki/Lux
		MOONLESS_OVERCAST_NIGHT, 	// Moonless, overcast night sky (starlight)
		MOONLESS_CLEAR_NIGHT, 		// Moonless clear night sky with airglow
		FULL_MOON_CLEAR_NIGHT, 		// Full moon on a clear night
		TWILIGHT_SKY, 				// Dark limit of civil twilight under a clear sky
		LIVING_ROOM, 				// Family living room lights (Australia, 1998)
		TOILET, 					// Office building hallway/toilet lighting
		VERY_DARK_OVERCAST_DAY, 	// Very dark overcast day
		OFFICE, 					// Office lighting
		SUNRISE_CLEAR_DAY, 			// Sunrise or sunset on a clear day
		OVERCAST_DAY, 				// Overcast day
		TV_STUDIO, 					// typical TV studio lighting
		DAYLIGHT, 					// Full daylight (not direct sun)
		SUNLIGHT, 					// Direct sunlight
		COMPARISON_UNAVAILABLE 		// None of the above
	}
	
	static enum NOISE {
		//extracted from http://es.wikipedia.org/wiki/Decibelio
		VERY_NOISY, // x >= 110 dB
		NOISY,		// 70 <= x < 110 dB
		STREET,		// 50 <= x < 70 dB
		NOT_NOISY	// 0 <= x < 50 dB 
	};
	
	public Object getCapabilityValue(final CAPABILITY capabilityName);
	public void setCapabilityValue(final CAPABILITY capabilityName, final Object value);
}

{'fraction_non_alphanumeric': 0.07893579595426561, 'fraction_numerical': 0.008355321020228672, 'mean_word_length': 3.9019396551724137, 'pattern_counts': {'":': 0, '<': 15, '<?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': '6808133', 'n_tokens_mistral': 1932, 'n_tokens_neox': 1696, 'n_words': 405}