Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
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
)