Skip to content
CAI
Software that uses CAICheck a score

onlythompson/fastapi-microservice-template

46.1

Weak · 20 September 2026

66

lines of production code

Python

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a FastAPI-based microservice scaffold designed to establish standardized project structures. It provides a Python utility for generating layered directory layouts encompassing application, domain, infrastructure, and presentation components. The foundation includes essential dependencies for web serving, database management, and operational monitoring.

Features

Added project scaffolding script

A new Python script, generate\_project\_structure.py, has been added to the scripts directory. This tool allows users to automatically generate a standardized project directory layout, including layers for application, domain, infrastructure, and presentation, as well as directories for tests, documentation, Kubernetes configurations, and CI pipelines.

scripts · high confidence

Dependencies

Initial project dependencies for FastAPI microservice

Added pyproject.toml and requirements.txt defining the project's dependency set, including FastAPI, Uvicorn, Pydantic, SQLAlchemy, Alembic, and various utility libraries for authentication, caching, and monitoring.

(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

Score

  • CAI 48 → 46 (-2.1)
  • Rubric changed (rubric-2026.08.17 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 99 → 99 (-0.2)
  • Architecture 69 → 69 (+0.0)
  • Maturity 59 → 59 (+0.0)
  • Readiness 23 → 20 (-2.9)
  • Security 99 → 90 (-8.4)

Resolved (9)

  • Dependency hygiene not measured — no supported dependency manifest was read
  • Duplicated block (10–17 lines × 2) (scripts/generate_project_structure.py)
  • Duplicated block (9–16 lines × 2) (scripts/generate_project_structure.py)
  • LLM evaluation failed
  • No exposed public API
  • early-stage repository — too little history to judge knowledge freshness
  • git history depth insufficient
  • git history depth insufficient
  • single-maintainer — knowledge-concentration (bus factor) risk

New (27)

  • Critical CVE: [GHSA redacted] (requirements.txt)
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • Duplicated block (10–14 lines × 2) (scripts/generate_project_structure.py)
  • Duplicated block (10–14 lines × 2) (scripts/generate_project_structure.py)
  • Duplicated block (7–9 lines × 2) (scripts/generate_project_structure.py)
  • Duplicated block (8–15 lines × 2) (scripts/generate_project_structure.py)
  • High CVE: [GHSA redacted] (requirements.txt)
  • High CVE: [GHSA redacted] (requirements.txt)
  • High CVE: [GHSA redacted] (requirements.txt)
  • High IaC: WD-COMPOSE-0002 (docker-compose.yaml)
  • High IaC: WD-COMPOSE-0002 (docker-compose.yaml)
  • High IaC: WD-DOCKER-0013 (Dockerfile)
  • Medium CVE: [GHSA redacted] (requirements.txt)
  • Medium CVE: [GHSA redacted] (requirements.txt)
  • Medium CVE: [GHSA redacted] (requirements.txt)
  • Medium CVE: PYSEC-2024-38 (requirements.txt)
  • Medium IaC: WD-COMPOSE-0002 (docker-compose.yaml)
  • Medium IaC: WD-COMPOSE-0002 (docker-compose.yaml)
  • Medium IaC: WD-DOCKER-0003 (Dockerfile)
  • …and 7 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

onlythompson/fastapi-microservice-template 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 20 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 7d1908bdfea69adb46213cbee85c718fd63a28e9 — 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.