Refresh stale CCS exam attempts

This commit is contained in:
hz
2026-08-10 21:30:43 -05:00
parent 07516784d2
commit 6108011f74
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ func _run() -> void:
_assert(screen._is_retired_interview_revision(retired_attempt, {
"id": "fatigue_course", "patientText": "I feel tired.", "choices": []
}), "an older authored interview revision should trigger a restart")
retired_attempt.graphicalPresentation.interviewRevision = 2
retired_attempt.graphicalPresentation.interviewRevision = 3
_assert(not screen._is_retired_interview_revision(retired_attempt, {}),
"the current authored interview revision should remain active")
@@ -288,7 +288,7 @@ func _sample_attempt(completed: bool) -> Dictionary:
return {
"id": "attempt-1", "state": "active", "revision": 1,
"simulatedStartUtc": "2026-08-05T09:00:00Z", "simulatedMinute": 0,
"graphicalPresentation": {"sceneKey": "doctor_office", "patientAssetKey": "patient_44_white_male", "interviewRevision": 2},
"graphicalPresentation": {"sceneKey": "doctor_office", "patientAssetKey": "patient_44_white_male", "interviewRevision": 3},
"medicalHistory": "Hyperlipidemia",
"vitals": {
"temperature": "36.8 C (98.2 F)", "bloodPressure": "122/76 mm Hg",