uwiger/jobs
54.1
Adequate · 13 November 2026
3.7k
lines of production code
Erlang
primary language
8
measurements over time
What this system is
This system is a job scheduling and regulation framework for Erlang, designed to manage task execution with features for rate limiting, sampling, and queue management. It supports both active job scheduling and passive queue operations, allowing users to directly enqueue and dequeue items. The codebase includes comprehensive documentation, test coverage for queue behaviors, and examples for monitoring CPU-based feedback.
Features
Add CPU-based feedback example with performance logging
Added new example files (performer.erl, performance\_logger.erl, jobs\_cpu.gnu) that demonstrate CPU-based feedback on a single queue. The example includes a performance logger that records job metrics (enqueued, done, queue frequency) and a gnuplot script to visualize the data, providing a complete workflow for monitoring and analyzing CPU usage in the system.
examples · medium confidence
Add passive queue support with enqueue/dequeue API
The JOBS framework now supports passive queues, allowing users to directly insert and extract items using the new \jobs:enqueue/2\ and \jobs:dequeue/2\ functions. This change introduces the \jobs\_queue\_list\ module to handle passive queue semantics and adds corresponding exports to the main \jobs\ module, enabling direct interaction with queue contents rather than just job requests.
src · high confidence
Added jobs.hrl header file with type and record definitions
A new header file, include/jobs.hrl, was added to the project. This file defines the core data structures and types for the jobs library, including records for rate and counter-based regulation (rr, cr, grp), queue configurations (queue, sampler), and producer states (stateless, stateful). It also exports opaque types for counter and reg\_obj, establishing the public API surface for interacting with the job scheduling and regulation system.
include · high confidence
Behavioural changes
Migrate build system to Rebar3 and add static analysis
The project now uses Rebar3 as the primary build tool, replacing the previous setup. This includes a new Makefile that supports compilation, testing, documentation generation, cross-reference checking, and Dialyzer analysis. Dependencies for build tools (parse\_trans, setup, edown, meck) are explicitly managed in rebar.config, and a rebar.lock file is added to ensure reproducible builds.
(repo-wide) · high confidence
Updated JOBS documentation with expanded examples and configuration details
The documentation in the \doc/\ directory has been significantly expanded and updated. The \overview.edoc\ file now includes detailed sections on job scheduling, queueing, and sampling/dampening features, along with comprehensive Erlang code examples for regulating HTTP requests, using explicit ask/done patterns, and demonstrating producer and passive queue behaviors. Additionally, generated Markdown documentation for modules such as \jobs\, \jobs\_app\, \jobs\_queue\, and various samplers has been regenerated to reflect the current API, including new functions like \modify\_queue/2\ and \ask\_queue/2\, and updated copyright information.
doc · high confidence
Test coverage
Add property for observing the current queue
Added a new property for observing the current queue, implemented via the new \jobs\_eqc\_queue\ and \jobs\_queue\_model\ test modules. These modules provide a model for generating random queues and verifying queue behavior, including FIFO and LIFO styles, timed-out jobs, and observation of queue state.
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 → 54 (-4.5)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 72 → 72 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 46 → 41 (-4.8)
- Readiness 62 → 62 (+0.0)
- Security 76 → 60 (-16.0)
Resolved (1)
- Documentation: no installation or build instructions (README.md)
New (4)
- Edited copy of a member (13 corresponding lines) (src/jobs_server.erl)
- Edited copy of a member (3 corresponding lines) (src/jobs_queue.erl)
- Edited copy of a member (4 corresponding lines) (src/jobs_queue.erl)
- Edited copy of a member (7 corresponding lines) (src/jobs_sampler.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
uwiger/jobs 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 867ac4d33f50ce2628f68625568ebc25c5e38d97 — 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.