Skip to content
CAI
Software that uses CAICheck a score

b-studios/scala-effekt

55.0

Weak · 7 November 2026

443

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

New effect handlers for state, exceptions, and non-determinism

The effects module now includes concrete implementations for common computational effects, providing ready-to-use handlers for state management, exception handling, and non-deterministic choice. Users can now leverage the State effect to manage mutable state via get/put operations, handle exceptions through the Exc effect with support for converting between effect-based and native exceptions, and model non-determinism using the Amb effect for binary choices or the Select effect for multi-way branching. These additions offer a standardized way to compose and handle side effects in programs.

effects · high confidence

Removals

Removal of Effekt runtime core components

The Effekt runtime implementation has been removed from the codebase. This change deletes the core files defining the effect system's architecture, including the \Capability\ trait, the \Control\ monad for handling continuations and state, the \Eff\ trait for effect definitions, the \MetaCont\ sealed trait for managing the continuation stack, and the \package.scala\ exposing the public API (\pure\, \use\, \handle\). Users can no longer utilize these specific runtime primitives for effect handling and control flow.

src/main · high confidence

Behavioural changes

Introduce new delimited control and effect handler API

The shared library now provides a new implementation for delimited control and effect handlers, replacing the previous capability-passing model with a handler-passing approach. This change introduces the \Control\ monad for managing effectful computations, along with \Handler\ and \Stateful\ traits that allow users to define and interact with effects. Key additions include support for stateful handlers via the \State\ trait, exception handling through \CatchMarker\, and new monadic operations in \Control\. The API is grounded in the multiprompt delimited control monad framework, offering a more direct mapping to the theoretical paper while maintaining backward compatibility for existing effect usage patterns.

shared · high confidence

Project discontinued and documentation updated

The Scala Effekt library is officially discontinued, with development superseded by the standalone Effekt language. The README has been updated to reflect this status, provide disambiguation guidance, and include usage instructions for the final version (0.4-SNAPSHOT) compatible with Scala 2.12 and 2.13. Additionally, the project now includes an MIT license, a .gitignore file, and a Scala Steward configuration.

(repo-wide) · high confidence

Refactor control-flow representation to use trampolining and explicit markers

The repository's internal control-flow mechanism has been restructured to prevent stack overflows by introducing a trampoline-based execution model. This change replaces the previous state-passing approach with a handler-passing model, utilizing new \MetaCont\ and \Result\ types to manage continuations. The implementation now explicitly distinguishes between different control effects using dedicated markers (\ContMarker\, \StateMarker\, \CatchMarker\) and frame types, allowing for more precise handling of state, exceptions, and continuations within the interpreter.

repository · high confidence

Dependencies

108 commits updating dependencies (1 manifest)

A dependency / build maintenance change in (dependencies) — 108 commits (4 fixs), 1 file.

(dependencies) · medium confidence · unverified

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 → 55 (+2.4)
  • 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 49 → 53 (+4.3)
  • Readiness 42 → 45 (+3.3)
  • Security 92 → 87 (-5.4)

Resolved (2)

  • Consequences/trade-offs of each design choice (e.g. boilerplate for shallow embedding vs delimited continuation handling) are not explicitly stated in the visible text (docs/docs/design.md)
  • Off-boarding risk: anonymized user #1

New (1)

  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 2 commits — 2 feature/other, 0 fixes

By area

  • .github/workflows — 1 commit
  • project/build.properties — 1 commit

Notable commits

  • change: Bump coursier/cache-action from 8 to 9
  • change: Update sbt, scripted-plugin to 1.13.1

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

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

Survey your own repository

b-studios/scala-effekt 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 7 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 a5105322e6d495dbf2ef4caf8e62bb08a0519b15 — 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-5f8314471808.