YTSCOREV ;SLC/KCM - Update scores with revision change ; 9/15/2015
Source file <YTSCOREV.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| RESCORE | ; background task to ensure all results recorded for administrations
 ; expects: YSRSREV (revision identifier) to be passed in ; examples: "0~1" for all instruments, "142~2" for one instrument ; quit if re-scoring has been completed  | 
|
| DIRECT | ; enter here to run interactively without tasking
 ; expects: YSRSREV (revision identifier) to be passed in  | 
|
| QTASK(YSRSREV,RESUME) | ; Create background task for rescoring administrations
 ; YSRSREV: revision ID (for example: 0~1, 142~2) ; RESUME: $H start time for task  | 
|
| SCOREONE(YS123ADM) | ; score one adminstration
 | 
|
| DIFFREV(IEN71,YS123ADM) | ; return true if different revision
 | 
|
| DELRSLTS(YS123ADM) | ; delete the current results of an administration
 | 
|
| ERRHND | ; Handle errors & clear stack
 ; Grab the error code  | 
|
| MONLOOP | ; monitor re-scoring loop
 | 
|
| SHOWPROG | ; show progress of re-scoring process
 ; loop through revId's and show progress  | 
|
| SHOWERRS | ; browse the errors
 | 
|
| GETCMD() | ; Get the next command
 | 
|
| SEC2HMS(SS) | ; return "#h #m #s" from seconds
 | 
|
| LSTREV | ; list revised instruments
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  |