Skip to content
CAI
Software that uses CAICheck a score

nadirbad/VerticalSliceArchitecture

51.5

Weak · 21 September 2026

1.7k

lines of production code

C#

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added HTTP request files for appointment booking and retrieval

Added new HTTP request files for the appointments feature, including \BookAppointment.http\ and \GetAppointments.http\. These files provide pre-configured HTTP requests for testing the appointment scheduling domain, covering scenarios such as booking appointments with various validation rules (e.g., time conflicts, duration limits, advance booking constraints) and retrieving appointments by ID or with multiple filters (patient, doctor, status, date range, pagination).

requests · high confidence

Initial project scaffolding with .NET 10 and PostgreSQL support

The repository has been initialized with a .NET 10 solution structure, including an .editorconfig for C\# coding conventions, a Directory.Build.props file targeting net10.0 with nullable and implicit usings enabled, and a global.json pinning the SDK to 10.0.100. The project is configured for PostgreSQL via a docker-compose.yml service and includes a .dockerignore file to exclude build artifacts and sensitive files from Docker contexts. The README documents the Vertical Slice Architecture template, and the LICENSE file has been updated to 2024.

(repo-wide) · high confidence

Introduce healthcare appointment scheduling domain and infrastructure

Added domain models for Appointment, Patient, and Doctor, along with domain events and scheduling policies. The application layer now includes MediatR behaviors for logging, performance monitoring, and validation using ErrorOr. A new ApplicationDbContext with EF Core configurations and an initial PostgreSQL migration script are provided, enabling the storage and retrieval of healthcare scheduling data.

src/Application · high confidence

Behavioural changes

Dev container upgraded to .NET 10 with PostgreSQL support

The development environment has been updated to use .NET 10 (sdk:10.0-noble) and includes the EF Core 10.0.1 tools. The container now provisions a PostgreSQL 16 database service, exposing port 5432, and the post-create script automatically applies EF Core migrations to the database.

.devcontainer · high confidence

Introduce structured error handling and development tooling for the API

The API project now includes a dedicated error controller that returns detailed exception information in development mode and a generic error response in production, improving debugging and error visibility. Additionally, the project is configured with Swagger UI for API exploration, CORS policies allowing all origins for development, and environment-specific settings that enable an in-memory database and sample data seeding during development, while production uses PostgreSQL.

src/Api · high confidence

Test coverage

Added unit and integration tests for healthcare appointment scheduling

Added comprehensive test coverage for the healthcare appointment domain and scheduling features. This includes unit tests for the Appointment domain entity (covering scheduling, completing, and cancelling appointments, including edge cases and state transitions), unit tests for the BookAppointment and CompleteAppointment validators (validating input constraints), and integration tests for the Appointment API endpoints (verifying HTTP status codes for valid and invalid requests).

tests · high confidence

Dependencies

Upgrade to .NET 10 and modernize test framework

The project has been upgraded to .NET 10, with all NuGet package versions in Directory.Packages.props updated to their .NET 10-compatible releases (e.g., Microsoft.EntityFrameworkCore 10.0.0). Additionally, the test suite has been migrated from NUnit to xUnit, with new unit and integration test projects configured to use xUnit 2.9.3 and related tooling.

(dependencies) · 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

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 54 → 52 (-2.5)
  • Rubric changed (rubric-2026.08.18 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 88 → 64 (-23.5)
  • Architecture 81 → 81 (+0.0)
  • Maturity 70 → 59 (-11.4)
  • Readiness 49 → 49 (+0.0)
  • Security 42 → 42 (+0.6)
  • Domain Modelling 90 (new)
  • Event-Driven 100 → 100 (+0.0)

Resolved (8)

  • Coverage not measured
  • High IaC: DS-0002 (.devcontainer/Dockerfile)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • No exposed public API
  • Test reliability not measured — no test run produced results
  • redundant comment (src/Api/Program.cs)
  • single-maintainer — knowledge-concentration (bus factor) risk

New (39)

  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • AnalyzerSeverityNone (.editorconfig)
  • Documentation: no installation or build instructions (README.md)
  • …and 19 more

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

Survey your own repository

nadirbad/VerticalSliceArchitecture 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 21 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit feb3a15e7ba03dc12404127e0a1f8f33b214783d — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-28e75b8e3254.