MedicAITutor Docs

Station Review Guide

Professional guidance for using MedicAITutor station review before publication.

Live API Station schema OpenAPI JSON

Table of Contents

What station review is for

Station review is a quality-assurance step for checking whether a station is publishable, coherent, and safe for simulation and evaluation. It helps reviewers spot weak schema content, weak persona definition, missing rubric signals, and obvious simulation risks before a station goes live.

Interpretation

Use review output as QA support, not sole publication approval. Confirm rubric completeness, persona specificity, key points, and simulation safety before publishing.

Edit station fields and avatar appearance

Open your private reviewer link to use the full editor without signing in. It enables draft access, creating and saving stations, publication changes, deletion, revision history, archive links and rollback. The link grants station operations only; it cannot change provider administration. An ordinary visit without a valid reviewer session remains a published-only read-only view.

Operators with access to the staging runtime secret can issue a fresh reviewer link from the repository root with python -m scripts.create_station_review_link --aws-profile medicaitutor-admin. Each run prints a new private URL. New links last 30 days from creation by default and are bound to their API host and environment; use --days 7 for a shorter lifetime. Existing links keep their original expiry, and reopening a link does not extend it. Share the resulting URL privately: anyone holding it has station editing access. Its access grant stays in a browser fragment, is exchanged through POST /stations/review for a secure HttpOnly station cookie with the same expiry, and is removed from the address bar. The exchange returns HTTP 204; no admin key is sent to the browser or embedded in the link. Invalid or expired links require a new link.

The vertical tabs follow the station JSON: General contains slug, title, section, task and lead; the remaining sections include Prompts, Persona, Avatar, Key points, Guardrails, Rubric, Evaluation, Sources, Station meta and Publication. On mobile, choose a section from the section selector. Field paths identify the exact JSON property being edited, including array indexes such as persona.affect_profile.rules[0].internal_affect.

Nested fields are editable in their section. Use Add field or Set value for optional values, Clear value for nullable fields, and the list controls to add, remove or reorder items. Dictionary fields support adding and removing properties. Advanced JSON edits the same draft directly; invalid JSON must be corrected before continuing. Health and Avatar review are generated, read-only sections.

  1. Open your private reviewer link, select any station, and use the title, category, revisions, archive, rollback and publication controls. Admin credentials remain supported for existing API clients.
  2. Select the Persona tab to edit the actual simulated participant, not the candidate psychiatrist. Edit the other structured sections as needed; Advanced JSON remains available and shares the same draft.
  3. Select the Avatar tab. Choose a provider for this station and select a LiveAvatar thumbnail. Search by exact name or ID; Compatible faces filters by speaker role. All usable faces shows the full approved pool with role-incompatible options disabled. Santa is excluded. Age and presentation still require human review.
  4. Tavus shows only configured profiles. A missing preview or exact provider name is labelled unavailable rather than invented. Selecting one provider does not delete the other provider block.
  5. Click Save station, inspect the before/after changes and any fields normalized or removed, and confirm. Speaker identity or avatar changes require a reviewer name, a station-specific presentation note, and explicit appearance approval. The server stores this evidence under avatar_review; it does not mark the station expert-reviewed or publish it automatically.
  6. Reload and inspect the saved revision and archive. A stale-record error means someone changed the station: reload, compare, and reapply your edits. Unsaved drafts are protected by a discard warning when switching stations or leaving the page.

The editor reads GET /stations/editor-catalogue and GET /stations/{slug}/editor-version. Before saving, POST /stations/editor-preview validates and normalizes the draft without writing a station or revision. Saves use the existing POST/PUT station API, authenticated by the scoped reviewer cookie or admin credentials, with X-Station-Editor-Version and, for appearance changes, X-Station-Appearance-Review. Catalogue validation and a pre-write fingerprint check run server-side. This check detects stale loaded records; it is not a distributed atomic compare-and-swap. No provider session is created by browsing or saving the editor.

Who should use it

Required inputs

Station review is strongest when you provide the full station JSON or an equivalent structured summary.

Important

Incomplete stations can still be reviewed, but the output will usually be more generic and less reliable. Weak input produces weak review signals.

How to interpret the output

Treat the review as a structured second check, not an automatic approval system.

Do not over-read a pass-like answer

A positive review does not guarantee clinical correctness, live simulator quality, or final publication readiness. Human review is still required.

Speaker and appearance review queue

The content review endpoint and the avatar review queue answer different questions. POST /review checks station content; the private queue checks who the simulated speaker is and whether a provider avatar is appropriate for that station.

Private, read-only review aid

The queue is generated from a current station and provider-catalogue snapshot. The generated page does not write to AWS, LiveAvatar, or the station API. Its static/model proposals are evidence to inspect, not approvals, and snapshot counts must not be treated as permanent API documentation.

  1. Identify the actual speaker. Read the task, case synopsis, and persona to determine who the avatar represents. Do not assign an avatar based on the candidate psychiatrist or on an occupation word alone.
  2. Approve the speaker record. Confirm the speaker name and role from source evidence. Resolve contradictions before selecting an appearance.
  3. Choose a role-compatible avatar. Use an active, approved catalogue entry, keep ordinary clothing for patients and family/carer informants, and reserve clinical presentation for clinical-professional informants.
  4. Record station-specific appearance approval. Include the current station hash, catalogue hash, reviewer, timestamp, review kind, approved ID, and a note covering age, clothing, framing, and any accepted mismatch. Resolve the exact display name from the current catalogue when writing the station block.
  5. Apply only after all gates pass. Re-read the current station and catalogue, then use the authenticated station API. Keep the assignment stable across sessions and verify the saved S3/API record.

Approval record example

{
  "station_slug": "abuse-in-intellectually-disabled-person-history-taking",
  "source_sha256": "current-station-sha256",
  "catalog_sha256": "current-liveavatar-catalogue-sha256",
  "speaker_review": {
    "status": "approved",
    "speaker": "Sonia Adam",
    "role": "clinical_professional_informant",
    "source": "task/case_synopsis/persona",
    "reviewed_by": "clinical-reviewer",
    "reviewed_at": "2026-09-06T12:00:00Z"
  },
  "appearance_approval": {
    "status": "approved",
    "review_kind": "human_station_appearance",
    "human_reviewed": true,
    "reviewed_by": "clinical-reviewer",
    "reviewed_at": "2026-09-06T12:00:00Z",
    "approved_avatar_ids": [
      "approved-catalogue-avatar-id"
    ],
    "presentation_note": "Clinical-professional presentation is appropriate for this CPN informant; framing and clothing reviewed for this station."
  }
}

Resulting station avatar block

{
  "avatar": {
    "default_provider": "liveavatar",
    "liveavatar": {
      "avatar_id": "approved-catalogue-avatar-id",
      "display_name": "Approved catalogue display name"
    }
  }
}
Approval is not inferred

A role-compatible candidate, a catalogue match, or an automated static preview does not approve a station. A human reviewer must approve the actual station-specific appearance before an assignment can be applied.

Good-review examples

Clearly publishable station

Complete rubric, specific persona, explicit safety boundaries

What the reviewer submitted

{
  "text": "Please review this station for publication readiness. Focus on rubric completeness, persona specificity, key points, and simulation safety.\n\n{\n  \"title\": \"Synthetic Documentation Example\",\n  \"station_slug\": \"synthetic-local-example\",\n  \"persona\": {\n    \"name\": \"Mrs Whitlock\",\n    \"communication_style\": \"anxious but cooperative\",\n    \"goals_concerns\": [\n      \"Wants her symptoms taken seriously\",\n      \"Worries she is losing control\"\n    ]\n  },\n  \"key_points\": [\n    \"timeline\",\n    \"functional impact\",\n    \"risk\",\n    \"ideas/concerns/expectations\"\n  ],\n  \"rubric_domains\": [\n    \"History structure and signposting\",\n    \"Focused symptom exploration\",\n    \"Risk and safety assessment\"\n  ],\n  \"guardrails\": [\n    \"Do not volunteer risk content unless asked clearly\",\n    \"Escalate if immediate harm is disclosed\"\n  ]\n}",
  "station_slug": "synthetic-local-example",
  "category": "station-review"
}

What the review flagged

  • Minor tightening only: one rubric item could be more measurable.
  • Lead line should stay aligned with the case synopsis.
  • Guardrail wording is already specific enough for publish decision support.

What action should be taken

Make the small wording fix, re-run if needed, then send for human clinical/content sign-off.

Needs revision

Generic persona, weak rubric, missing key points

What the reviewer submitted

{
  "text": "Please review this draft station before publication.\n\n{\n  \"title\": \"Untitled station\",\n  \"station_slug\": \"draft-station\",\n  \"persona\": {\n    \"name\": \"Patient\",\n    \"communication_style\": \"brief\"\n  },\n  \"key_points\": [],\n  \"rubric_domains\": [\n    \"Communication\"\n  ],\n  \"guardrails\": []\n}",
  "station_slug": "draft-station",
  "category": "station-review"
}

What the review flagged

  • Persona is default and not station-specific.
  • Rubric is too shallow to support reliable evaluation.
  • Key points are empty, so the simulator and examiner signals are under-specified.
  • No meaningful guardrail or escalation content is present.

What action should be taken

Do not publish. Repair the station content first, then re-run review and require human approval after the fixes.

Common failure modes and caveats

Review checklist

Copy into SOP

  • Rubric has at least 3 meaningful competency items.
  • Key points are specific and non-empty.
  • Persona is specific, plausible, and non-default.
  • Guardrails are present where needed.
  • Lead/opening line matches station type.
  • Station behaviour is safe and coherent.
  • A station-specific candidate test has completed and its evaluation includes domains, ratings, rationales, and evidence.
  • Publication status, reason, expert-review provenance, revision, and current S3 object match the approved station.