Subversion Repositories wimsdev

Rev

Rev 12411 | Rev 12460 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
12459 bpr 1
!read oef/default
54 guerimand 2
!if $step=$empty
12411 bpr 3
  !readdef wimshome/log/classes/$wims_class/supervisor
4
  !read oef/default
5
  !bound user_qnum between integer 1 and 9 default $(default_choice[1])
6
  !bound user_qcmlevel between integer 1 and 9 default $(default_choice[2])
7
  !bound user_sepow between 1 and 6 default $(list_sepow[1])
8
  !bound user_expow between 1 and 6 default $(list_expow[1])
9
  !bound user_precw between 0 and 1 default $(list_precw[1])
10
  !if $nw_scoredelay!=$empty
11
    nw_scoredelay=!items2words $nw_scoredelay
12
    !distribute word $nw_scoredelay into l1,l2
13
    !bound l1 between 1 to 2000
14
    !bound l2 between $l1 to 2000 default $l1
15
    nw_scoredelay=$l1,$l2
16
  !endif
17
  !bound user_qcmpresent between integer 2 and 8 default $(default_choice[4])
12459 bpr 18
  !bound user_presentsolu between 0 and $limit_version default $(default_choice[3])
19
  !bound user_presentfeed between 0 and $limit_version default $(default_choice[3])
20
  !bound nw_check3 between 0 and $limit_version default $user_nw_check3
21
  !bound nw_check4 between 0 and $limit_version default $user_nw_check4
22
  nw_check_=$nw_check1,$nw_check2
23
  nw_check_=!listintersect $nw_check_ and 1,2
54 guerimand 24
!else
12411 bpr 25
  !bound nw_qnum between integer 1 and 9 default $user_qnum
26
  !bound nw_qcmlevel between 1 and 9 default $user_qcmlevel
27
  nw_scoredelay=!items2words $nw_scoredelay
28
  !distribute word $nw_scoredelay into l1,l2
29
  !if $l1!=$empty or $l2!=$empty
30
    !bound l1 between 1 and 2000
31
    !bound l2 between $l1 and 2000 default $empty
32
    nw_scoredelay=$l1,$l2
33
  !else
34
    nw_scoredelay=$empty
35
  !endif
36
  !bound nw_qcmpresent between 2 and 8 default $user_qcmpresent
12459 bpr 37
  !bound nw_presentsolu between 0 and $limit_version default $user_presentsolu
38
  !bound nw_presentfeed between 0 and $limit_version default $user_presentfeed
12411 bpr 39
  !bound nw_sepow between 1 and 6 default $user_sepow
40
  !bound nw_expow between 1 and 6 default $user_expow
41
  !bound nw_precw between 0 and 1 default $user_precw
12459 bpr 42
  !set nw_check_=$nw_check1,$nw_check2
12411 bpr 43
  !set nw_check_=!nonempty items $nw_check_
12459 bpr 44
  !set nw_check_=!listintersect $nw_check_ and 1,2
45
  !bound nw_check3 between 0 and $limit_version default $user_check3
46
  !bound nw_check4 between 0 and $limit_version default $user_check4
9099 bpr 47
 
12411 bpr 48
  !setdef !set user_qnum=$nw_qnum\
54 guerimand 49
!set user_qcmlevel=$nw_qcmlevel\
50
!set user_scoredelay=$nw_scoredelay\
51
!set user_qcmpresent=$nw_qcmpresent\
12459 bpr 52
!set user_presentsolu=$nw_presentsolu\
53
!set user_presentfeed=$nw_presentfeed\
54
!set user_check3=$nw_check3\
55
!set user_check4=$nw_check4\
9099 bpr 56
!set user_check=$nw_check_\
57
!set user_sepow=$nw_sepow\
58
!set user_expow=$nw_expow\
59
!set user_precw=$nw_precw\
60
in wimshome/log/classes/$wims_class/supervisor
61
 
12411 bpr 62
  !setdef wims_oefdefault_qnum=$nw_qnum\
54 guerimand 63
wims_oefdefault_qcmlevel=$nw_qcmlevel\
64
wims_oefdefault_scoredelay=$nw_scoredelay\
65
wims_oefdefault_qcmpresent=$nw_qcmpresent\
12459 bpr 66
wims_oefdefault_presentsolu=$nw_presentsolu\
67
wims_oefdefault_presentfeed=$nw_presentfeed\
9099 bpr 68
wims_oefdefault_check=$nw_check_\
12459 bpr 69
wims_oefdefault_check3=$nw_check3\
70
wims_oefdefault_check4=$nw_check4\
9099 bpr 71
wims_oefdefault_expow=$nw_expow\
72
wims_oefdefault_sepow=$nw_sepow\
73
wims_oefdefault_precw=$nw_precw\
74
in wimshome/sessions/$wims_session/var.stat
7684 bpr 75
 
12411 bpr 76
  !readdef wimshome/log/classes/$wims_class/supervisor
9099 bpr 77
 
7684 bpr 78
!endif