Spaces:
Running
Running
Download static/run.html from parsa-hke/stroke-copilot: direct link, hf CLI and curl.
- Browser
- Download file 6.87 kB
-
https://huggingface.co/spaces/parsa-hke/stroke-copilot/resolve/main/static/run.html
- Command line
-
hf download hf://spaces/parsa-hke/stroke-copilot/static/run.html
-
curl -L -o run.html https://huggingface.co/spaces/parsa-hke/stroke-copilot/resolve/main/static/run.html
6.87 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Live run · Stroke Decision Copilot</title> | |
| <meta name="description" content="Pick a stroke case, bet on what Claude Sonnet 5.5 will decide, then watch it answer live while the verifier checks every claim. A research prototype. Not for clinical use."> | |
| <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23ff4d57'/%3E%3Cpath d='M9 17h4l2-6 3 11 2-5h3' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"> | |
| <!-- The live run page (DEC-32 §4), as a short game: pick a patient, bet on the model, watch the run, see the score. | |
| The builder's values, limits and fallback are unchanged; only how they are presented. --> | |
| <link rel="stylesheet" href="site.css"> | |
| <link rel="stylesheet" href="pages.css"> | |
| <script src="common.js" defer></script> | |
| <script src="runviz.js" defer></script> | |
| <script src="run.js" defer></script> | |
| </head> | |
| <body data-tone="4"> | |
| <div class="banner" role="note"><strong>Research prototype — not for clinical use.</strong><span> No output here is medical advice. All cases are synthetic or de-identified research data.</span></div> | |
| <div class="aurora" aria-hidden="true"><i class="b1"></i><i class="b2"></i><i class="b3"></i></div> | |
| <div class="grain" aria-hidden="true"></div> | |
| <nav class="nav" aria-label="Pages"> | |
| <a class="brand" href="index.html"><i></i><span>Stroke Decision Copilot</span></a> | |
| <div class="links"><a href="index.html" data-page="index.html">The story</a><a href="run.html" data-page="run.html">Live run</a><a href="research.html" data-page="research.html">The record</a></div> | |
| </nav> | |
| <main class="page"> | |
| <header class="page-head game-head"> | |
| <p class="kicker">Live run</p> | |
| <h1>Your shift.</h1> | |
| <p class="dek">Pick a patient. Bet on what the model will decide. Then watch <strong>Claude Sonnet 5.5</strong> answer live while the verifier marks every claim.</p> | |
| <p class="status-line"><span class="live-badge" id="live-badge"><i></i><span id="live-status">Checking whether live runs are on…</span></span></p> | |
| </header> | |
| <section class="board" id="board" aria-label="The game"> | |
| <div class="board-top"> | |
| <ol class="gsteps" id="gsteps"><li class="on">Patient</li><li>Your call</li><li>The run</li><li>Result</li></ol> | |
| <div class="tally" id="tally" aria-live="polite"></div> | |
| </div> | |
| <!-- 1 · pick a patient --> | |
| <div class="screen" id="s-pick"> | |
| <h2>Who is next?</h2> | |
| <p class="sub">Six patients are waiting. Every one is scripted. Pick one.</p> | |
| <div class="cards" id="cards"></div> | |
| <div class="picked" id="picked" hidden> | |
| <div class="patient" id="patient" aria-live="polite"> | |
| <div class="ring"><svg viewBox="0 0 100 100" aria-hidden="true"><circle class="bg" cx="50" cy="50" r="42"/><circle class="fg" id="p-ring" cx="50" cy="50" r="42"/></svg><span id="p-time"></span></div> | |
| <div><p class="who" id="p-who"></p><div class="facts" id="p-facts"></div></div> | |
| </div> | |
| <details class="tune" id="tune"> | |
| <summary>Fine-tune this patient <span>change the timing, the scan or the history</span></summary> | |
| <form id="builder" class="controls" novalidate> | |
| <div class="preset-row"><label>Start from any of the answered cases<select id="preset"><option value="">Default values</option></select></label></div> | |
| <fieldset><legend>Timing</legend><div class="fields" id="f-timing"></div></fieldset> | |
| <fieldset><legend>Patient</legend><div class="fields" id="f-patient"></div></fieldset> | |
| <fieldset><legend>Imaging (what the vision models would report)</legend><div class="fields" id="f-imaging"></div></fieldset> | |
| <fieldset><legend>Medicines and history</legend><div class="fields" id="f-history"></div></fieldset> | |
| <p class="muted small">There is no free text: every value stays inside the ranges the system was tested on.</p> | |
| </form> | |
| </details> | |
| <div class="row"><button class="btn primary" type="button" id="to-bets">Place your bets →</button><button class="btn" type="button" id="replay">Just watch a recorded run</button></div> | |
| </div> | |
| </div> | |
| <!-- 2 · your call --> | |
| <div class="screen" id="s-bet" hidden> | |
| <h2>Call it.</h2> | |
| <p class="sub">Three bets, 100 points each. Get all three and take 50 more.</p> | |
| <p class="bet-who" id="bet-who"></p> | |
| <div class="bets" id="bets"></div> | |
| <div class="row"><button class="btn" type="button" id="back-pick">← Change patient</button><button class="btn primary" type="button" id="run" disabled>Run it live</button></div> | |
| <p class="error" id="builder-error" role="alert" hidden></p> | |
| </div> | |
| <!-- 3 · the run --> | |
| <div class="screen" id="s-run" hidden> | |
| <h2 id="run-title">The run</h2> | |
| <p class="sub" id="run-sub">Each step is drawn as the server reports it.</p> | |
| <div class="rv focus" id="runviz"></div> | |
| <p class="visually-hidden" id="rv-status" aria-live="polite"></p> | |
| </div> | |
| <!-- 4 · result --> | |
| <div class="screen" id="s-result" hidden> | |
| <div class="res-head"> | |
| <div class="res-score" id="res-score" aria-hidden="true"></div> | |
| <div><h2 id="res-title"></h2><p class="sub" id="res-sub"></p></div> | |
| </div> | |
| <div class="res-bets" id="res-bets"></div> | |
| <div class="res-claims"> | |
| <p class="kicker" id="res-claims-k">Every claim, as the verifier marked it</p> | |
| <div class="rv-claims" id="res-claims"></div> | |
| <p class="rv-claimtext" id="res-claimtext">Hover or tab to any square to read its claim.</p> | |
| </div> | |
| <div class="badges-new" id="badges-new"></div> | |
| <div class="row"><button class="btn primary" type="button" id="again">Next patient</button><button class="btn" type="button" id="full" aria-expanded="false">Read the full answer</button></div> | |
| <div id="run-result" hidden></div> | |
| </div> | |
| </section> | |
| <section class="section" aria-labelledby="shelf-title"> | |
| <p class="num">Collect them all</p> | |
| <h2 id="shelf-title">Badges</h2> | |
| <p class="section-lede">Each badge marks something the project set out to find. They are kept in this browser only.</p> | |
| <div class="shelf" id="shelf"></div> | |
| <p class="muted small"><button class="linklike" type="button" id="reset">Reset my score and badges</button></p> | |
| </section> | |
| </main> | |
| <footer class="foot"><p>Research prototype — not for clinical use. · Stroke Decision Copilot, MAAI 901/902, UOWD. · <a href="research.html#about">Data, credit and limits</a></p></footer> | |
| <div class="tooltip" id="tooltip" role="tooltip" hidden></div> | |
| </body> | |
| </html> | |