g-andrade/deigma
71.2
Strong · 2 October 2026
844
lines of production code
Erlang
primary language
2
measurements over time
What this system is
Deigma is an Erlang/OTP library designed for continuous event sampling within one-second time windows. It dynamically adjusts sampling percentages to respect rate limits while preserving the context of the original event population. The system provides a supervision tree and API for managing named event categories, ensuring consistent sampling behavior across different configurations.
Features
Initial release of deigma event sampler
The repository has been restructured and renamed to 'deigma', introducing an Erlang/OTP library for continuous event sampling. The library allows users to sample events within one-second windows, adjusting sampling percentages to honor rate limits while providing the original population context. It supports OTP 24 through 29, uses a modern rebar3-based build system with \erlfmt\ and static analysis tools, and generates EEP-48 native documentation.
(repo-wide) · high confidence
Initial release of deigma, a continuous event sampler
The project has been renamed from bottlenape to deigma and introduced as a new Erlang/OTP library for continuous event sampling. It samples reported events within one-second windows, adjusting the sampling percentage to honor rate limits while exposing the sampling rate to downstream consumers. The library provides a supervision tree and API (start\_link, child\_spec, ask) to manage named event categories, with a default maximum rate limit of 100 events per window.
src · high confidence
Test coverage
Added comprehensive test suite for deigma sampling logic
Added a new Common Test suite (deigma\_SUITE.erl) that exercises the deigma application's core sampling functionality. The tests verify the \deigma:ask/3\ and \deigma:ask/4\ APIs across various event type counts and maximum rate configurations, ensuring correct sampling decisions and timestamps. It also includes specific tests for default and custom event functions, as well as validation of error handling when event functions throw exceptions or exit.
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 71 → 71 (+0.5)
- Rubric changed (rubric-2026.09.12 → rubric-2026.09.18) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 66 → 66 (+0.0)
- Readiness 76 → 76 (+0.0)
- Security 80 → 87 (+6.8)
Resolved (4)
- Coverage not measured — no coverage collector is wired up
- Documentation: no installation or build instructions (README.md)
- Documentation: no licence statement (README.md)
- Documentation: no usage examples (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
g-andrade/deigma 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 2986942a2ef7421eb0542097f448a49550586635 — 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.