Week 29 - Daily Log

Continuing the detailed daily logging format. Each day’s work and learning outcomes are tracked in separate files for clarity and granularity.

Table of Contents


Overview

This week focuses on the AnanaCare Relabel project, with emphasis on automating the setup process and planning the Undo/Redo functionality.

Daily Work Logs

See the sidebar or the links above for each day’s detailed log.


Weekly Summary (Week 29)

  • Primary focus: Production hardening and architectural evolution for the AnanaCare backend — moving from a model-centred prediction engine toward a Clinical Decision Support System (CDSS) with clearer API contracts and safer outputs. See daily notes: logs/day-46.md, logs/day-47.md, logs/day-48.md, logs/day-49.md, logs/day-50.md.
  • Deployment & reliability: Stabilized the setup pipeline and model-loading behavior (timm/Hugging Face caching), added diagnostics endpoints and container runtime fixes to improve production troubleshooting and cold-start behavior (days 46–47).
  • Preprocessing & validation: Fixed preprocessing to produce consistent, square face crops and tightened image-format validation (PNG/JPEG), reducing downstream validation failures (day 47).
  • CDSS transition: Replaced raw prediction outputs with structured clinical insights via a centralized SYMPTOMS_MAP, introduced SHA-256-based capture_id identifiers, and implemented a referential YAML ledger for captures (day 49).
  • Symptoms architecture & API: Evolved symptoms handling to a strategy-driven design (e.g., max strategy), modernized the API schema (symptoms: dict[str, SymptomsDetail]), and simplified response flows to improve documentation and client compatibility (day 50).
  • Technical debt & next steps: Remaining work includes decoupling validateanalyze dependencies, deploying diagnostics to production to validate runtime behavior, resolving duplicated pipeline initializations, and adding compatibility layers for API consumers (days 46–50).
  • For reference: model tuning and experiment-tracking practices are summarized in logs/week-19.md and may inform next steps for threshold calibration and validation workflows.


Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.