Med Abhyaas practice copilot¶
Med Abhyaas is a practice environment where medical trainees interview a controlled virtual patient (VP), request examinations and investigations, and receive evidence-linked formative feedback.
The core idea is that patient speech is expressive, but what the patient is allowed to say is not up to the language model:
- Faculty-authored clinical truth is fixed per case version and never writable through conversation.
- A disclosure policy decides which patient-known facts may be said this turn.
- A realizer (Sarvam cascade or Gemini Live native audio) voices only the permitted content, in the patient's own colloquial words.
- Every turn is an event with sequence, epoch and delivery state, so feedback can cite what was actually heard.
Formative and unvalidated
All cases are synthetic drafts pending clinician and native-speaker review. No output is a validated competency score.
Where things stand¶
| Area | State |
|---|---|
| Pinned, content-hashed case versions | Done (#1) |
| Colloquial patient-voice facts (Hindi source) | Done (#2) |
| Progressive, imprecise disclosure | Done (#3) |
| Typed learner-action interpreter | Done (#4) |
| Native voice through interpreter and policy | Done (#5) |
| Examination and order services | Done (#9) |
| Reasoning events and review | Done (#10) |
| Adversarial consistency suite in CI | Done (#11) |
| Colloquial lexicon and transcript safety | Done (#12) |
| Expressive, emotional patient voice | Done (#6); live listening check pending |
| All dropdown languages | Done (#7); native-speaker review pending |
| Attendant interjections in a second voice | Done (#8); live listening check pending |
| Evidence records and kernel chain | Done (#13) |
| Observers, anchor domains and critical rules | Done (#14) |
| Teaching mode and hint ladder | Done (#15) |
| Variants, next exercise, attempt accounting | Done (#16) |
| Spaced retrieval | Done (#17) |
| Retention, appeals, formative-only records | Done (#24) |
| Faculty dashboards | Done (#19) |
| Blind annotation and agreement statistics | Done (#20) |
| Paper personas A, B and C | Done (#22); review pending |
| Oncology workflows and palliative case | Done (#23) |
| Evaluation conditions, baselines, per-stage latency | Done (#21) |
| Faculty authoring and approval UI | Done (#18) |
| Plausible answers within case constraints | Done (#25) |
| Realistic speech: pauses, disfluency, hedging, timing | Done (#26); listener study pending |
| Pre-speech gating (Clef default, Jev and MuRIL adapters) | Done (#27); clinician-labelled evaluation and shadow run pending |
| All-Gemini voice stack, Sarvam as fallback | Done (#28); listening check of Gemini TTS voices pending |
The roadmap is regenerated from the ticket files on every docs build.
Running locally¶
python3 -m pip install -r app/requirements.txt
python3 -m app.async_server # http://127.0.0.1:8080
python3 -m unittest discover -s app/tests
Local access keys are generated in .runtime/access.json. See Configuration.
Reading these docs¶
- Locally:
mkdocs serve(live reload), or download the latest CI build withgh run download -n docs-site -D site. - Public: https://inventcures.github.io/med-abhyaas-docs/, rebuilt on every push to
main(built site only, pushed toinventcures/med-abhyaas-docswith theDOCS_DEPLOY_KEYdeploy key; the source stays private). - On the app:
/docs, behindDOCS_ACCESS_PHRASE. Updated whenever the app is redeployed.