Skip to content
CAI
Software that uses CAICheck a score

saleyn/etran

52.7

Adequate · 2 October 2026

1.2k

lines of production code

Erlang

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is the etran library, a collection of Erlang parse transforms designed to extend the language's syntax and reduce boilerplate. It provides features such as default function arguments, Elixir-style pipelines, conditional expressions, and enhanced list comprehensions. The project includes comprehensive unit tests to verify the correctness of these transformations and utility modules.

Features

Added Google site verification file

A new file, google2792824a0f71459b.html, has been added to the build-aux directory containing the Google site verification token. This allows the project to verify ownership with Google Search Console.

build-aux · high confidence

Initial release of the etran library with parse transforms

This change introduces the etran library, a collection of Erlang parse transforms. It adds support for default function arguments via the defarg transform, an Elixir-style pipeline operator for cascading function calls via erlpipe, and additional transforms for stringification (str), ternary logic (iif), and list comprehensions. The release includes the core implementation files, a Makefile for building and debugging, and comprehensive documentation.

(repo-wide) · high confidence

Introduce etran parse-transform framework with default arguments, pipelines, and conditional expressions

The src area now provides the etran application (v0.5.3), a collection of Erlang parse transforms that extend syntax and reduce boilerplate. The new defarg module allows default function arguments using the A / Default syntax, automatically generating the necessary overloads. The erlpipe module enables pipeline-style function composition via the / operator, including a tap/2 helper for side effects. The iif module adds conditional expressions (iif, nvl, ife, ifne) that compile to case expressions. The listcomp module extends list comprehensions with indexed iteration and fold capabilities. The str module provides str/bin transforms for stringification and error/throw helpers that produce binaries. The etran module orchestrates these transforms, and etran\_util supplies shared AST processing utilities.

src · high confidence

Test coverage

Added unit tests for parse transforms and utility modules

Added comprehensive EUnit test suites for the \defarg\, \erlpipe\, \etran\, \iif\, \listcomp\, and \str\ parse transforms and utility modules. These tests verify the correct behavior of default argument handling, pipeline operations, list comprehensions, conditional expressions, and string formatting features.

test · high confidence

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

How this codebase got here

Score

  • CAI 52 → 53 (+0.5)
  • Rubric changed (rubric-2026.09.12 → rubric-2026.09.18) — scores are not directly comparable.

Lenses

  • Code Health 99 → 99 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 38 → 39 (+1.2)
  • Readiness 50 → 50 (+0.0)
  • Security 90 → 90 (+0.0)

Resolved (2)

  • Coverage not measured — no coverage collector is wired up
  • Orphaned files with no living knowledge

New (1)

  • Documentation: no contributor guidance (README.md)

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

Survey your own repository

saleyn/etran 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 2 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 56da54dc40d544e9bd52c82e5043d082124a568c — the exact code this score is about.
  • Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.