mekosotto commited on
Commit
e7511c3
·
1 Parent(s): 2dc9434

docs(notes): manual click-through checklist for HF Space smoke verification

Browse files
docs/superpowers/notes/2026-04-30-hf-smoke-checklist.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # HF Space Manual Smoke Checklist — 2026-04-30
2
+
3
+ After the deploy completes (~3-5 min after `git push hf main`), open
4
+ https://mekosotto-hackathon.hf.space/ and walk this list. Anything
5
+ that fails is a regression vs the audit fix in
6
+ `docs/superpowers/plans/2026-04-30-hf-space-live-audit-fixes.md`.
7
+
8
+ ## Hero strip (top of page)
9
+
10
+ - [ ] Hero title `NeuroBridge Enterprise` fades up smoothly (not instant)
11
+ - [ ] Status row shows three dots:
12
+ - [ ] `api · operational` (green)
13
+ - [ ] `mlflow · tracking` (green) — **was muted before this fix**
14
+ - [ ] `explainer · template only` (muted, expected — LLM stays disabled)
15
+
16
+ ## Molecule tab (BBB)
17
+
18
+ - [ ] Default edge case "Custom input (default)" is selected
19
+ - [ ] Input box shows `CCO`
20
+ - [ ] Click "Predict BBB permeability"
21
+ - [ ] Decision card animates in with spring scale-in on the verdict
22
+ - [ ] Provenance strip shows real values:
23
+ - [ ] `mlflow · <8-char run id>` (NOT `—`) — **was `—` before this fix**
24
+ - [ ] `model · v1`
25
+ - [ ] `trained · <ISO timestamp>` (NOT `—`)
26
+ - [ ] `n=<integer>` (NOT `n=—`)
27
+ - [ ] Verdict reads `permeable` with confidence ~80-100%
28
+ - [ ] SHAP bar chart renders with sand-colored bars
29
+ - [ ] Switch dropdown to "Invalid SMILES" → click Predict → see yellow warning, NOT red error
30
+
31
+ ## Signal tab (EEG)
32
+
33
+ - [ ] Default input field shows `tests/fixtures/eeg_sample.fif` — **was `data/raw/eeg.fif` before this fix**
34
+ - [ ] Click "Run EEG pipeline"
35
+ - [ ] Result card shows rows / columns / duration_sec / mlflow_run_id
36
+ - [ ] Expand "Ask the AI Assistant about this EEG run"
37
+ - [ ] Click "Ask AI Assistant" → see deterministic-template rationale (no error)
38
+
39
+ ## Image tab (MRI)
40
+
41
+ - [ ] Defaults: `tests/fixtures/mri_sample` and `tests/fixtures/mri_sample/sites.csv`
42
+ - [ ] Click "Run ComBat diagnostics"
43
+ - [ ] Three KPI cards render: Site-gap (Pre), Site-gap (Post), Reduction factor
44
+ - [ ] Pre/Post KDE altair chart renders
45
+ - [ ] Expand "Ask the AI Assistant about this ComBat run" → click → see rationale
46
+
47
+ ## AI Assistant tab
48
+
49
+ - [ ] After running a BBB prediction in the Molecule tab, this tab shows
50
+ "Latest prediction: ..." caption
51
+ - [ ] Click "Ask the AI Assistant" → conversation appears with source =
52
+ `template` and model = `—` (LLM intentionally disabled on HF)
53
+
54
+ ## Experiments tab
55
+
56
+ - [ ] Table loads with **at least 3 rows** — one each for `bbb_pipeline`,
57
+ `eeg_pipeline`, `mri_pipeline` — **was empty before this fix**
58
+ - [ ] Compare-two-runs section is visible (≥2 rows are present)
59
+ - [ ] Pick two run IDs → click "Show diff" → diff table renders
60
+
61
+ ## Sidebar
62
+
63
+ - [ ] Toggle "Dark mode" off → page rebuilds with cream paper theme
64
+ - [ ] Toggle back on → page rebuilds with editorial dark theme
65
+ - [ ] Both themes preserve the sand accent on the hero word-mark
66
+
67
+ ## Reduced-motion respect
68
+
69
+ - [ ] (Optional) Open DevTools → Rendering → enable "prefers-reduced-motion"
70
+ - [ ] Reload — animations are near-instant (< 1ms duration), but layout
71
+ and content are unchanged