<commit_before>package model.repositories.anorm

import java.util.UUID

import anorm.SqlParser._
import anorm._
import model.dtos._

object FinalLawAnnotationParser {

  val Parse: RowParser[FinalLawUserAnnotation] = {
    get[UUID]("user_id") ~
    get[String]("user_name") ~
    get[Long]("comment_id") ~
    get[List[String]]("annotationIds") map
    {
      case user_id ~ user_name ~ comment_id ~ annotationIds =>
        FinalLawUserAnnotation(user_id, user_name, comment_id, annotationIds)
    }
  }
}<commit_msg>Updated FinalLawAnnotationParser to make annotation id nil as default<commit_after>package model.repositories.anorm

import java.util.UUID

import anorm.SqlParser._
import anorm._
import model.dtos._

object FinalLawAnnotationParser {

  val Parse: RowParser[FinalLawUserAnnotation] = {
    get[UUID]("user_id") ~
    get[String]("user_name") ~
    get[Long]("comment_id") map
    {
      case user_id ~ user_name ~ comment_id =>
        FinalLawUserAnnotation(user_id, user_name, comment_id, Nil)
    }
  }
}
{'fraction_non_alphanumeric': 0.10884353741496598, 'fraction_numerical': 0.0, 'mean_word_length': 4.282051282051282, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3017258', 'n_tokens_mistral': 346, 'n_tokens_neox': 334, 'n_words': 64}