typelevel/kittens
57.9
Adequate · 6 November 2026
4.7k
lines of production code
Scala
primary language
4
measurements over time
What this system is
Features
Added HList-based sequence, traverse, and replicateH operations for Scala 2
New sequence, traverse, and replicateH capabilities have been added to the Scala 2 core, enabling users to sequence, traverse, and replicate operations over Shapeless HLists and Records. This includes syntax extensions for standard HLists (sequence, parSequence, traverse, parTraverse) and labeled Records (sequenceNamed, parSequenceNamed, sequenceTo, parSequenceTo), as well as replicateH and parReplicateH for replicating effects a compile-time known number of times. These operations leverage the Parallel typeclass for parallel execution where applicable.
core/src/main/scala-2/cats/sequence · high confidence
Introduce semiauto derivation helpers for Scala 2.12
A new \semiauto\ object has been added to the \cats.derived\ package for Scala 2.12, providing explicit methods to derive typeclass instances (such as \Eq\, \Show\, \Monoid\, \Functor\, and \Traverse\) for case classes and type constructors. This allows users to control derivation on a per-field or per-type basis, avoiding the pitfalls of automatic derivation where nested structures might not respect existing instances, as demonstrated in the included documentation examples.
core/src/main/scala-2.12/cats/derived · high confidence
Introduce semiauto derivation helpers for type class instances
A new \semiauto\ object has been added to the \cats.derived\ package, providing explicit helper methods to derive standard type class instances (such as \Eq\, \Order\, \Show\, \Monoid\, \Functor\, and \Traverse\) for case classes. This change establishes a controlled derivation pattern that allows users to manually trigger derivation for specific types, addressing previous issues where automatic derivation might not respect native instances or required implicit resolution in a less predictable manner.
core/src/main/scala-2.13/cats/derived · high confidence
New automatic type-class derivation for core algebraic structures
The \cats.derived\ package in \core/src/main/scala-2/cats/derived\ now provides automatic derivation for a comprehensive set of type classes, including \Eq\, \Hash\, \Monoid\, \CommutativeMonoid\, \Semigroup\, \CommutativeSemigroup\, \Empty\, \EmptyK\, \Functor\, \Contravariant\, \Invariant\, \Apply\, \Applicative\, \Foldable\, \Traverse\, \NonEmptyTraverse\, \Reducible\, \MonoidK\, \ConsK\, and \Iterable\. These new \Mk\*\ traits and their associated derivation logic allow users to automatically derive instances for generic case classes, HLists, and sealed traits without writing boilerplate code manually.
core/src/main/scala-2/cats/derived · high confidence
Removals
Removal of derived Foldable, Functor, and Iterable instances
The \cats.derived\ module in \src/main\ has removed the source files for \Foldable\, \Functor\, and \Iterable\ derivation. This eliminates the automatic derivation of \Foldable\ and \Functor\ type class instances for generic types, as well as the ability to convert generic types into standard Scala \Iterable\ collections via the \MkIterable\ mechanism. Users relying on these specific auto-derived capabilities will need to provide manual implementations or use alternative derivation strategies.
src/main · high confidence
Behavioural changes
Introduces Scala 2.12-specific lazy implicit resolution for derived typeclasses
A new version-specific utility file for Scala 2.12 defines a \Lazy\ type alias pointing to \shapeless.Lazy\ and implements an \OrElse\ mechanism with \Primary\ and \Secondary\ implicits. This change ensures that derived typeclasses resolve dependencies lazily in Scala 2.12, mirroring the behavior of Scala 2.13's built-in lazy implicits, which prevents infinite recursion during derivation and ensures the derived instances are serializable.
core/src/main/scala-2.12/cats/derived/util · high confidence
Introduces Scala 2.13-specific derivation utilities
A new version-specific utility file for Scala 2.13 provides a \Lazy\ type class with an \implicitNotFound\ message to improve error reporting during derivation, and implements \OrElse\ with \Primary\ and \Secondary\ cases to support lazy evaluation and fallback logic in type class derivation.
core/src/main/scala-2.13/cats/derived/util · high confidence
Major library overhaul and documentation update
The library has been significantly updated to version 2.0.0-M1, introducing a comprehensive rewrite of the documentation and API usage. The README now details support for Scala 2.12/2.13, Scala.js 1.5, and Scala Native 0.4, and outlines three derivation strategies: \auto\, \cached\, and the recommended \semiauto\. New utility functions for \Applicative\ operations like \lift\, \traverse\, and \sequence\ on HLists, Records, and case classes are documented. The build configuration has also changed, removing the legacy \.travis.yml\ in favor of GitHub Actions and updating the scalafmt version to 3.11.5.
(repo-wide) · high confidence
Strict semiauto derivation for Scala 3
The \core/src/main/scala-3/cats/derived\ package has been rewritten to use a new derivation scheme powered by \shapeless3.deriving\. This change introduces a \strict\ mode for all derived type classes (such as \Functor\, \Monoid\, \Eq\, and \Traverse\), allowing users to opt into stricter, compile-time-checked instance generation that prevents accidental derivation of incompatible types. The implementation replaces the previous opaque \Derived\ wrapper with direct usage of \shapeless3.deriving.Derived\ and \OrElse\, and adds support for deriving instances for nested types, product types (case classes), and coproduct types (sealed traits/enums) using the new \ProductInstances\ and \CoproductInstances\ APIs.
core/src/main/scala-3 · high confidence
Test coverage
Added Scala 3 test suites for derived type class instances; Added comprehensive test suites for derived type class instances; Added test coverage for sequence, traverse, and replicateH operations; Removed legacy test suite for derived Foldable and Functor instances.
Dependencies
Major build system overhaul and dependency updates
The project has migrated to the sbt-typelevel infrastructure, updating the organization to org.typelevel and the base version to 3.5. This change upgrades core dependencies to Cats 2.13.0, MUnit 1.3.6, and Shapeless 2.3.13/3.5.0, while switching the default Scala version to 3.3.8 and supporting cross-compilation for Scala 2.12.21, 2.13.18, and 3.3.8 across JVM, JS, and Native platforms. The build now includes binary compatibility checks via MiMa and enforces formatting via Scalafmt.
(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 62 → 58 (-4.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 75 → 75 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 54 → 47 (-6.3)
- Readiness 58 → 58 (+0.0)
- Security 82 → 70 (-12.1)
Resolved (2)
- Off-boarding risk: anonymized user #1
- Orphaned files with no living knowledge
New (34)
- Concentrated knowledge decay
- Off-boarding risk: anonymized user #1
- Orphaned file (core/src/main/scala-2.12/cats/derived/semiauto.scala)
- Orphaned file (core/src/main/scala-2.13/cats/derived/semiauto.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/applicative.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/apply.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/contravariant.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/emptyk.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/foldable.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/functor.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/hash.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/iterable.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/monoidk.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/nonEmptyTraverse.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/package.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/pure.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/reducible.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/semigroupk.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/showPretty.scala)
- Orphaned file (core/src/main/scala-2/cats/derived/traverse.scala)
- …and 14 more
Changes since last survey
- 4 commits — 4 feature/other, 0 fixes
By area
- (repo) — 2 commits
- (root) — 1 commit
- project/build.properties — 1 commit
Notable commits
- change: Merge pull request #825 from typelevel/update/sbt-1.13.1
- change: Merge pull request #826 from typelevel/update/scala3-library-3.3.9
- change: Update sbt, scripted-plugin to 1.13.1
- change: Update scala3-library, ... to 3.3.9
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/kittens 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 e8331634610e92916bc7fa541df25d06820f14c7 — 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.