george-silva/django-event-sourcing
50.2
Adequate · 10 November 2026
133
lines of production code
Python
primary language
9
measurements over time
What this system is
This system is a Python-based application that implements the event sourcing architectural pattern, utilizing Event and Aggregate models to manage state through a sequence of events. It provides a testable framework for handling order creation and status transitions, supported by a refactored dependency structure that explicitly relies on Django and modern testing tools.
Behavioural changes
Introduced Event and Aggregate models for event sourcing
The event\_sourcing module now includes Python classes for Event and Aggregate, supporting the event sourcing pattern. The Event class provides a simple key-value storage with equality checks and a persist method, while the Aggregate class manages a list of events and applies them during initialization. A utility function method\_dispatch is added to support single dispatch. Additionally, legacy static files (CSS, JS), templates, URLs, and views are removed, indicating a shift away from the previous implementation.
_event\sourcing · high confidence
Test coverage
Added tests for the event-sourcing aggregate implementation
Added new tests for the \Order\ aggregate class in \tests/test\_aggregates.py\, covering order creation, status changes, and multiple order instances. Removed the previous placeholder tests in \tests/test\_models.py\ and the unused \tests/urls.py\ file.
tests · high confidence
Dependencies
Updated Python dependency manifests
The project's dependency files have been refactored. The main requirements file now explicitly lists Django as a dependency. The development requirements file now includes the main requirements file and specifies versions for bumpversion and wheel. The test requirements file has been simplified to include the main requirements file and specific test packages (pytest, pytest-cov), removing older test dependencies like coverage, mock, flake8, tox, and codecov.
(dependencies) · medium 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 50 → 50 (+0.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 43 → 43 (+0.0)
- Readiness 33 → 33 (+0.0)
- Security 99 → 100 (+1.3)
- Domain Modelling 100 → 100 (+0.0)
Findings
- No change — the same findings as the prior survey.
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
george-silva/django-event-sourcing 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 10 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 3e88eaa83c12e3550832e75cf1e74820fc40e64c — the exact code this score is about.
- Scored under rubric-2026.11.2 — 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.4+preprod-464a0040a931.