Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

306 B
Raw Blame
package sample.models

/** Supported operations. */
sealed trait Operation

object Operation {
  case object Add extends Operation
  case object Subtract extends Operation
}

/** Record of a calculation. */
case class CalculationRecord(
  operation: Operation,
  x: Double,
  y: Double,
  result: Double
)