pages/wellbeing.php
Snapshot 2026.09.17-a2894de (current) · 13 lines · 2,586 bytes · tree · plain text
SHA-256
39d1ef9570fbb22cf8bd35abde80525087a0bf1fbf5e32bdb0923f161ccddc37| 1 | <?php |
| 2 | require_once __DIR__.'/../inc/streampage.php'; |
| 3 | page_header('Wellbeing (aggregate)','wellbeing'); |
| 4 | echo '<h1>Guest health and wellbeing · aggregate only</h1><p class="lede">Guest health and wellbeing is the programme\'s primary research strand: whether a stay at a wellness retreat run by artificial intelligence measurably regenerates the guest, and whether any of it lasts. The retreat\'s stations, sauna and steam, a cold-air room for ice therapy, salt bath, aromatherapy, a light-therapy cabin with guest-selected coloured light, sound, meditation and movement, with Grímnir as a meditation guide, are logged as timed doses beside validated wellbeing instruments, sleep, resting heart rate, blood pressure and heart-rate variability, with follow-up after departure. No personal or guest-level data ever reaches this platform. What appears here is irreversible, anonymised aggregation across consenting guests above a minimum group size: consent-tier uptake, therapy uptake, and cohort-level change once seasons begin. The anonymisation contract: no key exists from any public number back to any person.</p>'; |
| 5 | foreach(['wb_consent_rate','wb_who5_delta','wb_rhr_delta','wb_therapy_uptake','wb_sleep_delta','wb_followup_persist'] as $c){ |
| 6 | $s=stream_by_code($c); if(!$s){echo '<div class="card"><h3>'.h($c).'</h3><div class="kv">Configured at season one.</div></div>'; continue;} |
| 7 | if(!visible($s)){echo '<div class="card"><h3>'.h($s['label']).'</h3><div class="kv">Cohort measure: published in aggregate once seasons accrue; available meanwhile via keyed API by agreement.</div></div>'; continue;} |
| 8 | $rows=series($s, date('Y-m-d H:i:s',strtotime('-90 days')), date('Y-m-d H:i:s')); |
| 9 | echo '<div class="card"><h3>'.h($s['label']).' '.mode_badge($s).'</h3><div class="chart" data-chart=\''.h(json_encode(['unit'=>$s['unit'],'series'=>[['label'=>$s['label'],'slot'=>(int)$s['series_slot'],'data'=>array_map(fn($r)=>[substr($r['ts'],0,16),(float)$r['value']],$rows)]]])).'\'></div>'.instrument_card($s).'</div>'; |
| 10 | } |
| 11 | echo '<p class="note">Ethics gates precede any collection: approval under the Act on Scientific Research in the Health Sector (National Bioethics Committee) and a data-protection impact assessment; research consent is chosen in the guest app before the programme begins, defaults to none, and can be changed at any time; the stay is the same whatever is chosen; a pre-stay health screen governs the use of heat and cold therapies for every guest, research or not. No medical claim, diagnosis or longevity claim is made anywhere on this platform.</p>'; |
| 12 | page_footer(); |
| 13 | |
Lines can be cited as pages/wellbeing.php L120-L140, platform code 2026.09.17-a2894de; add #L120-L140 to this page's address to highlight them. Source shown for scrutiny of the research platform. All rights reserved. Not offered as installable software.