Skip to content
CAI
Software that uses CAICheck a score

Andyhacool/HRM

40.2

Weak · 8 November 2026

3k

lines of production code

C#

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a .NET Core application that implements an event-sourced architecture to track and persist domain events. It utilizes a SQL-based event store to record and retrieve the history of aggregates, ensuring that all domain events are captured for audit or replay purposes. The codebase has been updated to use specific versions of .NET Core and Entity Framework Core, with obsolete test projects removed from the build configuration.

Features

Added event sourcing infrastructure for SQL-based event storage

The data layer now includes a new \EventSourcingContext\ and \SqlEventStore\ implementation to persist domain events to a SQL database. This introduces a \StoredEvent\ table and associated Entity Framework Core migrations, enabling the system to record and retrieve event history for aggregates via the \IEventStoreRepository\.

src/HRM.Infra.Data · high confidence

Introduced event sourcing infrastructure with event store interface and storage model

Added the core building blocks for event sourcing in the HRM domain. The new IEventStore interface defines a generic Save method for persisting events, while the StoredEvent class provides the concrete model for storing event data, user context, and aggregate identifiers. This establishes the foundation for tracking and replaying domain events.

HRM.Domain.Core, src/HRM.Domain.Core · medium confidence

Behavioural changes

Add MIT License and remove obsolete unit test project

The repository now includes an MIT License file, clarifying the software's usage and distribution rights. Additionally, the solution file (HRM.sln) has been updated to remove the 'HRM.Infrastructure.UnitTests' project, indicating that this specific unit test suite is no longer part of the build configuration.

(repo-wide) · high confidence

Event sourcing integration for domain events

The in-memory message bus now persists domain events to an event store before publishing them, ensuring that all domain events are recorded for audit or replay purposes. This is supported by registering the event store dependencies (IEventStore, EventStoreRepository, and EventSourcingContext) in the IoC container.

src/HRM.Infra.CrossCutting.Bus, src/HRM.Infra.CrossCutting.IoC · medium confidence

Dependencies

Update .NET Core and EF Core dependencies

The project files have been updated to use newer versions of key .NET libraries. Microsoft.AspNetCore.App and Microsoft.AspNetCore.Razor.Design are upgraded to version 2.2.5 and 2.2.0 respectively. Additionally, Microsoft.EntityFrameworkCore and its related packages (Design, SqlServer, Tools) are upgraded from version 2.2.2 to 2.2.4. The .NET Core runtime is also explicitly set to version 2.2.0 in the domain core project.

(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 35 → 40 (+4.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 60 → 60 (+0.0)
  • Architecture 73 → 73 (+0.0)
  • Maturity 64 → 65 (+0.5)
  • Readiness 23 → 30 (+7.8)
  • Security 30 → 32 (+2.2)
  • Domain Modelling 49 → 54 (+5.5)
  • Event-Driven 100 → 100 (+0.0)
  • Performance 100 → 100 (+0.0)

Resolved (14)

  • Coverage not measured — no coverage collector is wired up
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.WebApi/HRM.WebApi.csproj)
  • Vulnerable: AutoMapper
  • Vulnerable: Microsoft.AspNetCore.App
  • Vulnerable: Microsoft.NETCore.App
  • Vulnerable: System.IdentityModel.Tokens.Jwt
  • XML-doc coverage: HRM.Application (src/HRM.Application/HRM.Application.csproj)
  • XML-doc coverage: HRM.Domain (src/HRM.Domain/HRM.Domain.csproj)
  • XML-doc coverage: HRM.Domain.Core (src/HRM.Domain.Core/HRM.Domain.Core.csproj)
  • XML-doc coverage: HRM.Infra.CrossCutting.Bus (src/HRM.Infra.CrossCutting.Bus/HRM.Infra.CrossCutting.Bus.csproj)
  • XML-doc coverage: HRM.Infra.CrossCutting.Identity (src/HRM.Infra.CrossCutting.Identity/HRM.Infra.CrossCutting.Identity.csproj)
  • XML-doc coverage: HRM.Infra.CrossCutting.IoC (src/HRM.Infra.CrossCutting.IoC/HRM.Infra.CrossCutting.IoC.csproj)
  • XML-doc coverage: HRM.Infra.Data (src/HRM.Infra.Data/HRM.Infra.Data.csproj)
  • XML-doc coverage: HRM.WebApi (src/HRM.WebApi/HRM.WebApi.csproj)

New (21)

  • Documentation: no build, run or usage example (README.md)
  • Documentation: no map of the repository's parts (README.md)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Application/HRM.Application.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Domain.Core/HRM.Domain.Core.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Domain.UnitTests/HRM.Domain.UnitTests.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Domain/HRM.Domain.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Infra.CrossCutting.Bus/HRM.Infra.CrossCutting.Bus.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Infra.CrossCutting.Identity/HRM.Infra.CrossCutting.Identity.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Infra.CrossCutting.IoC/HRM.Infra.CrossCutting.IoC.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Infra.Data/HRM.Infra.Data.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Infra.IdentityTest/HRM.Infra.IdentityUnitTests.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.Infrastructure.UnitTests/HRM.Infrastructure.UnitTests.csproj)
  • End-of-life runtime: .NET netcoreapp2.2 (src/HRM.WebApi/HRM.WebApi.csproj)
  • redundant comment (src/HRM.Infra.CrossCutting.Identity/Auth/JwtFactory.cs)
  • redundant comment (src/HRM.Infra.CrossCutting.Identity/AuthHandlers/LoginHandler.cs)
  • redundant comment (src/HRM.Infra.CrossCutting.Identity/AuthHandlers/RegisterUserHandler.cs)
  • redundant comment (src/HRM.Infra.Data/Properties/AssemblyInfo.cs)
  • redundant comment (src/HRM.Infra.Data/Properties/AssemblyInfo.cs)
  • redundant comment (src/HRM.Infra.Data/Properties/AssemblyInfo.cs)
  • redundant comment (src/HRM.WebApi/Startup.cs)
  • …and 1 more

API surface

  • Unchanged — 8 HTTP endpoints

Architecture

  • Unchanged — 2 containers · 2 contexts · 1 edges

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

Survey your own repository

Andyhacool/HRM 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 8 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 db19dca3843e7d2e1b0c05b9a3607c80f316a224 — 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.3+preprod-45ab2cab63de.