Skip to content
CAI
Software that uses CAICheck a score

jlouis/fuse

64.5

Adequate · 13 November 2026

2.9k

lines of production code

Erlang

primary language

8

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is an Erlang-based circuit breaker library designed to manage the state of external dependencies and prevent cascading failures. It provides core APIs for installing, querying, and resetting circuit breakers, along with a server for state management and event handling. The system supports pluggable statistics backends for monitoring and includes comprehensive test coverage for state transitions and timing behavior.

Features

Added stress test for fuse\_stats\_plugin

A new stress test module (stress/stress.erl) was added to the project. It sets up the 'fuse' application and runs a concurrent workload using 8 cores, each performing 3 million calls to the fuse plugin. This change introduces a new capability for evaluating the plugin's performance and stability under load.

stress · high confidence

Introduce circuit breaker functionality with stats plugins and event handling

The \src\ directory now contains the core implementation of the fuse circuit breaker, including the main \fuse\ module with \install\, \ask\, \run\, \melt\, \remove\, and \reset\ APIs. This release adds a \fuse\_server\ for state management, a \fuse\_event\ module for handling circuit state changes, and a \fuse\_monitor\ for periodic state synchronization. Additionally, the system now supports pluggable statistics backends, introducing a \fuse\_stats\_plugin\ behavior with implementations for \fuse\_stats\_ets\, \fuse\_stats\_exometer\, \fuse\_stats\_folsom\, and \fuse\_stats\_prometheus\.

src · high confidence

Behavioural changes

Add initial documentation overview for the circuit breaker

A new documentation file (doc/overview.edoc) has been added, providing an overview of the Erlang circuit breaker application, including author, copyright, title, and a brief description of the system's purpose.

doc · high confidence

Migrate build system from erlang.mk to rebar3

The project has switched its build system from erlang.mk to rebar3, introducing a new rebar.config and rebar.lock while removing the legacy Makefile and erlang.mk. This change updates the build process and dependencies, requiring users to use rebar3 for compilation and testing. The README has also been updated to reflect the new build instructions and includes a comprehensive changelog and documentation of the circuit breaker's features.

(repo-wide) · high confidence

Test coverage

Added Common Test suite for fuse lifecycle and state management; Expanded EQC test coverage for fuse timing and state management.

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 64 → 64 (+0.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 98 → 98 (+0.0)
  • Architecture 100 → 100 (+0.0)
  • Maturity 43 → 43 (+0.0)
  • Readiness 70 → 70 (+0.0)
  • Security 97 → 97 (+0.0)

New (10)

  • Edited copies of one member (3 members, 7+ corresponding lines) (eqc_test/fuse_statem_eqc.erl)
  • Edited copy of a member (12 corresponding lines) (eqc_test/fuse_eqc.erl)
  • Edited copy of a member (2 corresponding lines) (eqc_test/fuse_eqc.erl)
  • Edited copy of a member (2 corresponding lines) (eqc_test/fuse_eqc.erl)
  • Edited copy of a member (2 corresponding lines) (eqc_test/fuse_eqc.erl)
  • Edited copy of a member (2 corresponding lines) (eqc_test/fuse_eqc.erl)
  • Edited copy of a member (3 corresponding lines) (eqc_test/fuse_eqc.erl)
  • Edited copy of a member (6 corresponding lines) (eqc_test/fuse_eqc.erl)
  • Edited copy of a member (6 corresponding lines) (eqc_test/fuse_statem_eqc.erl)
  • Edited copy of a member (7 corresponding lines) (src/fuse_server.erl)

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

Survey your own repository

jlouis/fuse 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 13 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 79d0817d5a2f97e9951fd736f1ba6a08c7b52b03 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — 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.61+preprod-b8b1a43ae4c3.