|
3 | 3 | An interactive multi-page web interface for the |
4 | 4 | [`synthdiet`](https://github.com/bugraayancom/synthdiet) Python library. |
5 | 5 |
|
6 | | -It exposes the full workflow visually: |
7 | | - |
8 | | -| Page | What it does | |
9 | | -|------|--------------| |
10 | | -| 🩺 Home | Project overview, hero, feature grid, quick links. | |
11 | | -| 📋 Cohort Builder | Interactive prevalence sliders → live age × sex × BMI × diagnosis distributions, CSV export. | |
12 | | -| 🍽️ Diet Simulator | Apply any of 8 preset diets to a single patient and watch HbA1c, BP, LDL and weight trajectories animate week-by-week. | |
13 | | -| 🧪 RCT Engine | Set up a parallel-arm trial, run with Weibull dropout + adherence, view CONSORT flow, forest plot, ITT / per-protocol / as-treated. | |
14 | | -| 📚 Case Studies | Browse the 15 built-in clinical cases, filter by difficulty / tag, and grade student diet plans with the OSCE rubric. | |
15 | | -| ℹ️ About | Author, citation, license, deployment instructions. | |
| 6 | + |
16 | 7 |
|
17 | 8 | The visual style is "clinical clean": white background, medical |
18 | 9 | blue / green accents, glassmorphism cards, smooth fade-up animations |
19 | 10 | and animated Plotly charts. |
20 | 11 |
|
| 12 | +## Pages |
| 13 | + |
| 14 | +### 🩺 Home |
| 15 | + |
| 16 | +Project overview, hero, feature grid, quick links. |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | +### 📋 Cohort Builder |
| 21 | + |
| 22 | +Interactive prevalence sliders → live age × sex × BMI × diagnosis |
| 23 | +distributions, CSV export. The cohort persists in |
| 24 | +``st.session_state`` and is reused by every downstream page. |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | +### 🍽️ Diet Simulator |
| 29 | + |
| 30 | +Apply any of 8 preset diets to a single patient and watch HbA1c, |
| 31 | +blood pressure, LDL and weight trajectories animate week by week |
| 32 | +(Plotly frame animation with Play / Pause). |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +### 🧪 RCT Engine |
| 37 | + |
| 38 | +Set up a parallel-arm trial with Weibull dropout, configurable |
| 39 | +adherence and randomisation strategy, then read the trial through |
| 40 | +ITT / per-protocol / as-treated lenses with a custom CONSORT flow |
| 41 | +diagram and forest plot. |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +### 📚 Case Studies |
| 46 | + |
| 47 | +Browse the 15 built-in clinical cases, filter by difficulty or tag, |
| 48 | +and grade student diet plans with the OSCE rubric. |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +### ℹ️ About |
| 53 | + |
| 54 | +Author, citation, license, deployment instructions. |
| 55 | + |
| 56 | + |
| 57 | + |
21 | 58 | --- |
22 | 59 |
|
23 | 60 | ## Run locally |
|
0 commit comments