{"in":{"data":"def calculateTotalPrice(items List[Double], discountPercentage int): Double = {\n  val subtotal = items.sum\n  val discountAmount = subtotal * (discountPercentage / 100)\n  val total = subtotal - discountAmount\n  return total\n}\n","type":"scala"},"out":{"data":"def calculateTotalPrice(items: List[Double], discountPercentage: Int): Double = {\n  val subtotal = items.sum\n  val discountAmount = subtotal * (discountPercentage / 100.0)\n  val total = subtotal - discountAmount\n  total\n}\n","type":"scala"},"client":"0.5.0"}