Skip to content
CAI
Software that uses CAICheck a score

typelevel/discipline

53.5

Adequate · 6 November 2026

168

lines of production code

Scala

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Initial project setup and documentation

The repository is initialized with core configuration files including a .gitignore for sbt and IDE artifacts, a .scalafmt.conf for code formatting (version 3.11.0), and a .mergify.yml for automated PR handling. The README is updated to document usage for Scala 2.12, 2.13, and 3.1, specifying the 'discipline-core' artifact version 1.5.0 and linking to external framework bindings (scalatest, specs2, munit). The LICENSE file copyright is updated to include 2021.

(repo-wide) · high confidence

Introduction of core law definition and predicate abstractions

The core library now includes the foundational \Laws\ trait and \Predicate\ abstraction, enabling users to define and compose type-class law checks via a structured \RuleSet\ hierarchy that prevents redundant property evaluation, alongside a simple boolean predicate type for use in law definitions.

core/src/main · high confidence

Test coverage

Added test suite for algebraic law definitions

Added new test files (\LawSpec.scala\ and \laws.scala\) in the \core/src/test\ directory to verify the structure and properties of algebraic laws (such as rings, groups, and monoids) within the discipline module. These tests ensure that the rule sets correctly compute and expose the expected properties for various algebraic structures.

core/src/test · high confidence

Dependencies

Update build to Scala 1.7 with Scala 3.3.7 and ScalaCheck 1.19.0

The project build has been updated to base version 1.7, supporting Scala versions 2.12.21, 2.13.18, and 3.3.7 across JVM, JS, and Native platforms. The core library dependency on ScalaCheck has been upgraded to version 1.19.0. Additionally, the JDK release target is set to 8, and version introduction metadata has been configured for the new Scala 3.3.7 release.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 53 → 53 (+0.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 76 → 76 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 41 → 41 (+0.0)
  • Readiness 58 → 58 (+0.0)
  • Security 70 → 70 (+0.0)

Resolved (2)

  • Documentation: no project overview (README.md)
  • Documentation: no usage examples (README.md)

Changes since last survey

  • 7 commits — 7 feature/other, 0 fixes

By area

  • project/plugins.sbt — 3 commits
  • (root) — 2 commits
  • project/build.properties — 2 commits

Notable commits

  • change: Update auxlib, clib, javalib, nativelib, ... to 0.5.12
  • change: Update sbt, scripted-plugin to 1.12.15
  • change: Update sbt, scripted-plugin to 1.13.1
  • change: Update sbt-scalajs, scalajs-compiler, ... to 1.22.0
  • change: Update sbt-typelevel, ... to 0.8.7
  • change: Update scala3-library, ... to 3.3.8
  • change: Update scalafmt-core to 3.11.5

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

typelevel/discipline was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 6 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 9419c53d707b867cd1cd8a61435f2da31ce4837d — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-60d1b390edf0.