Spaces:
Sleeping
Sleeping
Commit History
-
0.6.4: /api/status diagnostic + StatusBanner + remove unused NotePanel prop
Runtime diagnostic - GET /api/status returns pipeline_ready, reference_counts (hcc_labels + hcc_crosswalk_icd10), gallery_size, metrics_available. Status is "ok" if everything loaded, else "degraded" with the failing facets exposed. - ui/src/components/StatusBanner.tsx renders ONLY on degraded state — rose-colored, calls out which facet is missing, points at the HF build logs. Normal OK status stays silent to avoid banner competition with the amber research-demo disclaimer. - App.tsx fetches /api/status on load alongside gallery + metrics. Cleanup - NotePanel.Props no longer declares a `result: CodingResult | null` prop it never read. App stops passing it. Strict TS stays clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>d0ec498 -
0.6.0: Dark mode
Foundation - tailwind.config.ts: darkMode: "class". - ui/src/lib/useTheme.ts: class-strategy toggle with localStorage persistence, prefers-color-scheme fallback on first load, cross-tab sync via storage events. - ui/src/components/ThemeToggle.tsx: header toggle button (Sun/Moon icon). UI sweep — every rendered surface now has a dark: variant: - App shell: header, footer, main background, kbd hints. - TabBar, DisclaimerBanner. - NotePanel (including textarea + highlight preview + gallery select). - HCCList (rows, skeleton, copy/query pills, MEAT dots). - DrillIn (MEAT rows with category bars, risk reasons + component weights, supporting-ICD list, copyable codes). - RAFSummary (three tinted cards + totals footer). - FilteredMentionsPanel (collapsible; struck-through spans retain contrast). - SpecificityHints (amber callout + hint rows). - QueryModal (backdrop, headers, markdown pre block, Copy button). - WelcomeModal (gradient header, body bullets, amber disclaimer, footer kbd…9ce893e -
Initial scaffold: HCC-MEAT Coder v0.1.0
End-to-end runnable pipeline with rule-based baselines in place of ML components, a FastAPI backend serving a React three-panel UI, and a 10-case regression suite guarding the invariants from AGENT_BRIEF.md §3 (faithfulness, negation/family-history filtering, hierarchy trumping, transparent risk). Deterministic components (real, tested): - E — HCC crosswalk + trumping over CMS-HCC v28 seed tables - H — over-coding (RADV) risk heuristic with named components + reasons - I — faithfulness verifier (substring guarantee + NLI hook) Baseline / swappable components: - A segmenter, B dictionary NER, C negation, D exact/alias linker, F rule-based MEAT extractor, G identity calibrator Infra: uv-driven pyproject, ruff + pytest + pre-commit, GH Actions CI for Python and UI, multi-stage Dockerfile for the HF Docker Space, typer CLIs for pipeline (`hcc-meat`) and evaluation (`hcc-meat-eval`). Reference data in data/reference/ uses PLACEHOLDER RAF weights; hydrate via scripts/fetch_cms_hcc_v28.…c6cfe5f