Spaces:
Sleeping
Sleeping
Commit History
-
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 -
Milestone 0.3.0: coder-voiced README, benchmark button, NER feature flag, CMS fetcher
README - Opening rewritten in coder vocabulary (suspect list / capture / MEAT / RADV risk / hierarchy trumping). Targets the S4 30-second recruiter skim. Benchmark endpoint + UI - POST /api/benchmark re-runs every gallery item live and returns min/median/p95/max/mean ms + per-case timings. Surfaces the S2 target (8000 ms p95 on CPU free tier) explicitly. - MetricsTab now has a "Run gallery benchmark" button with a red/green p95 card and a collapsible per-case breakdown. NER backend feature flag - New TransformersNER wrapper around the HF token-classification pipeline with lazy import + label normalization onto SpanType. - default_ner() reads HCC_MEAT_NER_BACKEND (dictionary|transformers) and HCC_MEAT_NER_MODEL (default blaze999/Medical-NER). - test_ner_backend_selection.py asserts selector behavior without importing transformers when the env var is unset — keeps CI lean. CMS fetcher - scripts/fetch_cms_hcc_v28.py now has two subcommands: inspect — download the CMS …e43bca6 -
Milestone 0.2.0: metrics tabs, TF-IDF linker, 25-case fixture, Synthea scaffold
UI - Add Metrics / Calibration / Subgroups / About tabs alongside the existing three-panel Coding view. - Wire a TabBar so switching tabs doesn't rerun the pipeline. API - New GET /api/metrics returning a snapshot computed against the regression fixture at startup. Shape is frozen for the UI contract. Pipeline - New TFIDFLinker — sklearn char-ngram TF-IDF over ICD-10 descriptions with an alias fast-path and exact-description shortcut. Now the default; the prior ExactMatchLinker stays available for lean runs. - Introduce a Linker Protocol in d_linker and drop the concrete dep on ExactMatchLinker from the orchestrator. Fixtures - Expand regression_suite.json from 10 → 25 cases: paroxysmal AF, unstable angina, hepatitis-C + cirrhosis trumping, PVD, COPD exacerbation, lowercase + typo'd notes, resolved acute, three-level kidney hierarchy, rare HCC-48, systolic-CHF specificity, pulmonary fibrosis, hypothetical workup, long multi-specialty prose, and an empty-note edge c…cd5b31c