jwkoh94/bridge-adherence
Fix blank-until-refresh on cold start: retry startup/scoring fetches with backoff + poll /health; SW v41
Fix G2 exemplars rendering as rapid decline: margin-maximised refine + true early-discontinuation G2 seeds (both G2 now margin 0.24/0.28); SW v40
Drop care-continuity/healthcare-engagement lever (collinearity artifact, ~null when consistent); All combined now 5 independent levers; SW cache v39
Rename Care continuity -> Healthcare engagement (visits-only lever); drop non-causal continuity-gap move; bump SW cache v38
Simplify gap field (drop continuity readout) + clamp absurd numeric inputs
Make prescribing-continuity input human-readable (largest gap in days) + fix latent consistency bug
Responsive/mobile polish: eliminate horizontal overflow at all widths
Webapp: pre-render case on load, live auto-refresh on every input, two-column sidebar (inputs | counterfactuals), tutorial updated to new layout
Counterfactuals: remove Everything-combined + Optimal-package bundle; fold statin/single-class restructuring into All combined (genuine ceiling, single exact re-score); package components remain individually ranked; SW v33
Couple medication count with LLT classes: floor unique_atc_codes at n_c10_categories (LLT is a subset), auto-raise in UI and in scored inputs, derive polypharmacy from effective count; SW v32
Postcode auto-sets visible remoteness category select (override-able); add lipid-lowering drug-type tickboxes (C10 subclasses) feeding c10_C10* with n_c10_categories derived from ticked types; SW v31
Tighten main-view spacing: content-height top-aligned pt-grid (drop forced stretch/space-between), reduce bar gaps/track heights, header and panel paddings; bump SW cache v30
Align left column flush with trajectory chart: pt-grid align-items stretch, predict-result fills row height with space-between so prediction block tops and barrier panel bottoms line up with the chart edges; bump SW cache v29
Increase left-column stack height (taller prediction bar tracks 30->34px / gap 18->22px and barrier tracks 14->18px / gap 5->8px) to vertically align with the trajectory chart; bump SW cache v28
Relocate five-domain barrier viz beneath prediction bars in the left pt-grid column (side by side with the trajectory chart); compact bars for single-viewport fit; bump SW cache v27
Pin example vignette + larger panel; add five-domain G4-referenced barrier viz (manuscript Fig3 Panel B); rename to Prescribing continuity; group comorbidity inputs into clinical classes
Restore example case vignettes: hover tooltip + active-example caption under the examples strip
Faithful input relabels (6-month windows, unit conversions), postcode to MMM mapping, auto polypharmacy, always-on examples strip, guided tutorial, transparent Optimal-package decomposition, dedupe overlapping interventions
Enlarge BRIDGE Adherence Model title to a prominent headline; keep compact single-viewport fit
Move short BRIDGE description from the sidebar header into the main content top area
Add short BRIDGE description lede under the brand and fuller text in the About popover
Compact single-viewport layout: tabbed sidebar (Inputs/Counterfactuals), expanded prediction+trajectory main, About popover
Revert trajectory to single overlaid four-curve chart (predicted group highlighted) side-by-side with prediction
Trajectory archetypes as side-by-side small multiples with predicted-group highlight
UI cleanup: remove privacy note, dataset preview, footer boilerplate; reflow prediction + trajectories together at top with dominant-group emphasis
Rename to BRIDGE Adherence Model; merge scan + counterfactuals into one ranked interventions list (high to no-effect)
Add individualised modifiable-risk scan: ranks the scored patient genuine per-patient CF deltas
Add medication-strategy counterfactual scenarios (statin initiation, step-up+LDL target, polypill, optimal package); drop wrong-signed continuous-supply lever
Align G1-G4 to manuscript palette (orange/red/purple/green); decouple semantic UI colors
Move counterfactuals into the main column under Prediction; Examples is the only edge drawer
Move exemplars into an expandable Examples drawer; two mutually-exclusive side drawers
Two exemplar cases per group (8 cards) + medication-simplification scenarios in the CF drawer
Counterfactuals as expandable drawer beside the input sidebar; levers update the main prediction
Swap layout: counterfactual levers to main column, exemplar quick-load cards to sidebar
Counterfactual levers moved to sidebar; downstream prediction overlays baseline in main view
Exemplars: one risk-driven argmax profile per group (G1-G4); Model-predicts framing
BRIDGE adherence scorer Docker Space
initial commit
