<commit_before>package org.wikipedia.page.references

import kotlinx.serialization.Serializable

@Serializable
data class PageReferences(val selectedIndex: Int = 0,
                          val tid: String?,
                          val referencesGroup: List<Reference>? = emptyList()) {

    @Serializable
    data class Reference(val id: String?,
                         val href: String?,
                         val text: String = "",
                         val html: String = "")
}
<commit_msg>Fix serialization error(s) when tapping references. (#2918)<commit_after>package org.wikipedia.page.references

import kotlinx.serialization.Serializable

@Serializable
class PageReferences(val selectedIndex: Int = 0,
                     val tid: String? = null,
                     val referencesGroup: List<Reference> = emptyList()) {

    @Serializable
    class Reference(val id: String? = null,
                    val href: String? = null,
                    val text: String = "",
                    val html: String = "")
}

{'fraction_non_alphanumeric': 0.09221902017291066, 'fraction_numerical': 0.005763688760806916, 'mean_word_length': 1.935211267605634, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2560742', 'n_tokens_mistral': 268, 'n_tokens_neox': 249, 'n_words': 73}