Skip to content
CAI
Produce a survey ↗Verify a survey

v-v-d/carts

This system is a shopping cart management service that handles cart creation, item manipulation, and coupon application through public, internal, and admin REST APIs. It enforces business rules for cart state transitions, quantity limits, and abandoned cart notifications via background tasks. The architecture is built on a clean separation of domain, application, and infrastructure layers, utilizing SQLAlchemy for persistence and Arq for asynchronous task processing.

53.5

Adequate · 4 August 2026

4.4k

lines of production code

Python

primary language

1

bus factor · 4 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2023 · cart domain and infrastructure foundation

This period established the core shopping cart domain model, including entities for carts, items, coupons, and notifications, alongside the necessary database migrations. It also introduced the application layer with use cases for cart management, abandoned cart processing, and distributed locking, supported by a new REST API and CLI interface. Additionally, the infrastructure layer was built with async SQLAlchemy repositories, HTTP clients, and background task processing via Arq.

39 changes

2024 · cart functionality test coverage

This period focused on expanding test coverage for cart-related features, including functional tests for cart use cases and unit tests for internal REST API endpoints and CLI commands. The work ensured comprehensive validation of cart creation, item management, and cart lifecycle operations.

4 changes

CAI lens gauges

Survey your own repository

v-v-d/carts 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 the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 4 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 625a5e5068 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards