<commit_before>package com.cronokirby.flashki.models

class Card(val front: String, val back: String) {
    val id = front + back

    fun isThat(that: Card): Boolean {
        return this.id == that.id
    }
}<commit_msg>documents the card class<commit_after>package com.cronokirby.flashki.models

/**
 * Represents a single flashcard
 *
 * @param front the front side of the card
 * @param back the back side of the card
 */
class Card(val front: String, val back: String) {
    val id = front + back

    /**
     * Returns whether or not this card is equivalent to another
     *
     * Returns true if the card's id is the same. The id is simply
     * the concatenation of the front and the back atm, but this may change
     * in the future.
     *
     * @param that the card to compare to
     */
    fun isThat(that: Card): Boolean {
        return this.id == that.id
    }
}
{'fraction_non_alphanumeric': 0.08813559322033898, 'fraction_numerical': 0.0, 'mean_word_length': 2.6016260162601625, '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': '4811738', 'n_tokens_mistral': 268, 'n_tokens_neox': 262, 'n_words': 109}