# Changelog

## Score

- CAI 42 → 42 (+0.1)
- Rubric changed (rubric-2026.08.17 → rubric-2026.08.18) — scores are not directly comparable.

## Lenses

- Code Health 60 → 61 (+1.2)
- Architecture 96 → 96 (+0.0)
- Maturity 59 → 59 (+0.0)
- Readiness 20 → 20 (+0.0)
- Security 59 → 59 (+0.0)

## Resolved (6)

- CommentedOutCode (POS/ViewModels/InventoryViewModel.cs)
- CommentedOutCode (POS/ViewModels/SalesHistoryViewModel.cs)
- Duplicated block (13–14 lines × 4) (POS/ViewModels/AddCategoriesDialogViewModel.cs)
- Duplicated block (13–39 lines × 3) (POS/Views/HomeWindow.xaml.cs)
- Inconsistent naming for User Control classes: some use 'UserControl' suffix (e.g., POS_UserControl), while others use '_UserControl' suffix (e.g., Customer_Add_UserControl). Additionally, 'UserMangment' contains a typo ('Mangment' instead of 'Management').
- Inconsistent naming for product-related models: 'Product', 'PurchaseProduct', 'SaleProduct', 'QuotedProduct'. While these might represent different entities, the lack of a common prefix or suffix (like 'Product' for all) makes the naming less consistent.

## New (6)

- Duplicated block (13 lines × 4) (POS/ViewModels/AddCategoriesDialogViewModel.cs)
- Duplicated block (15 lines × 2) (POS/Views/HomeWindow.xaml.cs)
- Inconsistent naming for product types. 'Product' is used for the base/general entity, while specific types use 'Product' as a suffix (PurchaseProduct, SaleProduct) or prefix (QuotedProduct).
- Prerequisites (e.g. .NET SDK version) and installation steps are missing from the visible text. (README.md)
- The concept of a 'Contact' or 'Contact Person' is represented by 'ContactName' in Supplier and CompanyInfo, but 'Customer' and 'Supplier' entities likely have their own contact details. The naming 'ContactName' is specific, but the lack of a unified 'Contact' entity or consistent 'Contact' property names across all business entities is an inconsistency.
- The word 'Management' is misspelled as 'Mangment' in the class name and potentially other related symbols.

## Architecture

- Unchanged — 2 containers · 2 contexts · 1 edges
