<commit_before>package justin.db.storage

import java.util.UUID

import justin.db.Data

import scala.concurrent.Future

sealed trait StorageGetData
object StorageGetData {
  case class Single(data: Data)     extends StorageGetData
  case class Conflicted(data: Data) extends StorageGetData
  case object None                  extends StorageGetData
}

trait PluggableStorage {
  def get(id: UUID): Future[StorageGetData]
  def put(data: Data): Future[Unit]
}<commit_msg>redefine Conflicted type of StorageGetData ADT<commit_after>package justin.db.storage

import java.util.UUID

import justin.db.Data

import scala.concurrent.Future

sealed trait StorageGetData
object StorageGetData {
  case class Single(data: Data)                   extends StorageGetData
  case class Conflicted(data1: Data, data2: Data) extends StorageGetData
  case object None                                extends StorageGetData
}

trait PluggableStorage {
  def get(id: UUID): Future[StorageGetData]
  def put(data: Data): Future[Unit]
}
{'fraction_non_alphanumeric': 0.06699507389162561, 'fraction_numerical': 0.0019704433497536944, 'mean_word_length': 3.8380952380952382, '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': '4332798', 'n_tokens_mistral': 296, 'n_tokens_neox': 297, 'n_words': 87}