<commit_before>package lila.common

case class ApiVersion(value: Int) extends AnyVal with IntValue {
  def v1 = value == 1
  def v2 = value == 2
  def v3 = value == 3
}

case class AssetVersion(value: String) extends AnyVal with StringValue

object AssetVersion {
  var current = random
  def change = { current = random }
  private def random = AssetVersion(ornicar.scalalib.Random nextString 6)
}<commit_msg>secureString for asset version<commit_after>package lila.common

case class ApiVersion(value: Int) extends AnyVal with IntValue {
  def v1 = value == 1
  def v2 = value == 2
  def v3 = value == 3
}

case class AssetVersion(value: String) extends AnyVal with StringValue

object AssetVersion {
  var current = random
  def change = { current = random }
  private def random = AssetVersion(ornicar.scalalib.Random secureString 6)
}
{'fraction_non_alphanumeric': 0.07866507747318235, 'fraction_numerical': 0.0166865315852205, 'mean_word_length': 4.25, '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': '2473638', 'n_tokens_mistral': 265, 'n_tokens_neox': 249, 'n_words': 93}