Files
PTSRaiAgent/app/core
ElebobaandClaude Opus 5.5 0c8cedc0c6
CI / ruff · pytest (pull_request) Successful in 23s
feat(core): scale engine with YAML schema and deterministic scoring
Pydantic schema for config/scales/*.yaml, cached loader, score() with
severity bands (sex-specific for AUDIT-C), rule-based C-SSRS triage,
flags (PHQ-9 item 9, PCL-5 >= 33, PHQ-4 subscales) and delta().
Starting literature thresholds for phq9, gad7, pcl5, auditc, pcptsd5,
cssrs_screen, phq4; final values are approved by the psychiatrist (#8).

Refs #3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:56:40 +03:00
..
2026-10-03 14:50:47 +03:00
2026-10-03 14:50:47 +03:00