<commit_before>package glimpse.gles

/**
 * Rendering viewport.
 *
 * @property width Viewport width.
 * @property height Viewport height.
 */
data class Viewport(val width: Int, val height: Int) {

	/**
	 * Returns a string representation of the [Viewport].
	 */
	override fun toString(): String = "$width×$height"
}<commit_msg>Added aspect ratio of viewport<commit_after>package glimpse.gles

/**
 * Rendering viewport.
 *
 * @property width Viewport width.
 * @property height Viewport height.
 */
data class Viewport(val width: Int, val height: Int) {

	/**
	 * Viewport aspect ratio.
	 */
	val aspect: Float by lazy { width.toFloat() / height.toFloat() }

	/**
	 * Returns a string representation of the [Viewport].
	 */
	override fun toString(): String = "$width×$height"
}
{'fraction_non_alphanumeric': 0.13222079589216945, 'fraction_numerical': 0.0, 'mean_word_length': 3.7560975609756095, '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': '5385612', 'n_tokens_mistral': 238, 'n_tokens_neox': 229, 'n_words': 78}