Skip to content
CAI
Software that uses CAICheck a score

erlsci/iso8601

56.5

Adequate · 15 November 2026

1k

lines of production code

Erlang

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added code coverage validation script

A new Erlang script, \scripts/check\_coverage.escript\, has been added to the project. This tool aggregates coverage data from EUnit, Common Test, and Proper runs, calculates the line coverage percentage for the \iso8601\ module, and enforces a 95% coverage threshold. It will fail the build if the aggregate or per-module coverage drops below this limit, helping maintain code quality standards.

scripts · high confidence

Library rebranded to iso8601 with expanded ISO 8601 support

The project has been renamed from erlang\_iso8601 to iso8601 and updated to version 1.4. This release adds support for ISO 8601 time intervals (parse\_interval, interval\_bounds, format\_interval), expanded year representations (including positive years with more than four digits and negative astronomical years via parse\_expanded/format\_expanded), and microsecond precision in parse\_exact. It also corrects apply\_duration to properly handle negative durations and fixes year arithmetic on leap days. The library now includes a Makefile, rebar.config, and comprehensive test coverage, while maintaining backward compatibility for existing date and time formatting and parsing functions.

(repo-wide) · high confidence

Major feature expansion: ISO 8601 durations, intervals, expanded years, and new time arithmetic

The library has been significantly expanded beyond basic date parsing and formatting. Users can now parse and format ISO 8601 durations (e.g., P1Y2M) and intervals (e.g., start/end or start/duration), as well as handle expanded year representations including negative (astronomical) years. New API functions allow adding or subtracting days, months, and years to datetimes, and a new \parse\_exact/1\ function provides subsecond precision. The version has been bumped to 1.4.0 with updated metadata for Hex.pm.

src · high confidence

Behavioural changes

Removal of legacy .app file in favor of .app.src

The pre-compiled application resource file (ebin/iso8601.app) has been removed from the repository. This change aligns with the project's build process, which generates the .app file from the source template (ebin/iso8601.app.src) during compilation, ensuring that version numbers and module lists are managed consistently rather than being manually maintained in a static file.

ebin · high confidence

Test coverage

Added comprehensive unit and property-based tests for ISO 8601 parsing and formatting

Added new test suites in \test/iso8601\_tests.erl\ and \test/prop\_iso8601.erl\ to verify the \iso8601\ module. The unit tests cover parsing various date, time, week, and duration formats, including edge cases like fractional seconds and timezone offsets. The property-based tests ensure round-trip consistency for standard and expanded year formats, as well as interval start/end and duration bounds calculations.

test · 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 59 → 57 (-2.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 98 → 92 (-6.2)
  • Architecture 69 → 69 (+0.0)
  • Maturity 53 → 47 (-5.4)
  • Readiness 68 → 68 (+0.0)
  • Security 57 → 57 (+0.0)

Resolved (1)

  • Off-boarding risk: anonymized user #1

New (5)

  • Edited copies of one member (4 members, 10+ corresponding lines) (src/iso8601.erl)
  • Edited copy of a member (12 corresponding lines) (src/iso8601.erl)
  • Edited copy of a member (16 corresponding lines) (src/iso8601.erl)
  • Edited copy of a member (5 corresponding lines) (src/iso8601.erl)
  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 20 commits — 17 feature/other, 3 fixes

By area

  • (root) — 13 commits
  • src/iso8601.erl — 6 commits
  • test/iso8601_tests.erl — 1 commit

Notable commits

  • fix: Fix OTP 29 Dialyzer private year spec
  • fix: Fixed badges.
  • fix: fix: inherit interval year and timezone context
  • change: Add OTP 28 and 29 CI jobs
  • change: Add executable EDoc contract documentation
  • change: Checkpoint arithmetic precision draft (unvalidated)
  • change: Complete private parser mode annotations
  • change: Complete promised formatter carry controls
  • change: Correct four EDoc contract comments
  • change: Prepare iso8601 1.4.1 release metadata
  • change: Reject OTP29-invalid calendar parser inputs
  • change: Remove incorrect private decimal spec
  • change: Removed old donation link.
  • change: Repair README portability in generated release docs
  • change: Repair calendar arithmetic and fractional precision
  • change: Repair parser boundary contracts
  • change: Shorten links.
  • change: docs: refresh agent guidance and commit attribution
  • change: test: add interval inheritance regressions
  • change: test: exercise formatter-produced interval inheritance

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

Survey your own repository

erlsci/iso8601 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 15 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 98aaba946cef9a0ff58c573112d2683dcd839617 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — 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.65+preprod-3c33c1882dc1.