Rev 12411 | Rev 12460 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12411 | Rev 12459 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | - | ||
- | 1 | !read oef/default |
|
2 | !if $step=$empty |
2 | !if $step=$empty |
3 | !readdef wimshome/log/classes/$wims_class/supervisor |
3 | !readdef wimshome/log/classes/$wims_class/supervisor |
4 | !read oef/default |
4 | !read oef/default |
5 | !bound user_qnum between integer 1 and 9 default $(default_choice[1]) |
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]) |
6 | !bound user_qcmlevel between integer 1 and 9 default $(default_choice[2]) |
Line 13... | Line 13... | ||
13 | !bound l1 between 1 to 2000 |
13 | !bound l1 between 1 to 2000 |
14 | !bound l2 between $l1 to 2000 default $l1 |
14 | !bound l2 between $l1 to 2000 default $l1 |
15 | nw_scoredelay=$l1,$l2 |
15 | nw_scoredelay=$l1,$l2 |
16 | !endif |
16 | !endif |
17 | !bound user_qcmpresent between integer 2 and 8 default $(default_choice[4]) |
17 | !bound user_qcmpresent between integer 2 and 8 default $(default_choice[4]) |
18 | !bound |
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 |
|
19 |
|
22 | nw_check_=$nw_check1,$nw_check2 |
20 | nw_check_=!listintersect $nw_check_ and |
23 | nw_check_=!listintersect $nw_check_ and 1,2 |
21 | !else |
24 | !else |
22 | !bound nw_qnum between integer 1 and 9 default $user_qnum |
25 | !bound nw_qnum between integer 1 and 9 default $user_qnum |
23 | !bound nw_qcmlevel between 1 and 9 default $user_qcmlevel |
26 | !bound nw_qcmlevel between 1 and 9 default $user_qcmlevel |
24 | nw_scoredelay=!items2words $nw_scoredelay |
27 | nw_scoredelay=!items2words $nw_scoredelay |
25 | !distribute word $nw_scoredelay into l1,l2 |
28 | !distribute word $nw_scoredelay into l1,l2 |
Line 29... | Line 32... | ||
29 | nw_scoredelay=$l1,$l2 |
32 | nw_scoredelay=$l1,$l2 |
30 | !else |
33 | !else |
31 | nw_scoredelay=$empty |
34 | nw_scoredelay=$empty |
32 | !endif |
35 | !endif |
33 | !bound nw_qcmpresent between 2 and 8 default $user_qcmpresent |
36 | !bound nw_qcmpresent between 2 and 8 default $user_qcmpresent |
34 | !bound |
37 | !bound nw_presentsolu between 0 and $limit_version default $user_presentsolu |
- | 38 | !bound nw_presentfeed between 0 and $limit_version default $user_presentfeed |
|
35 | !bound nw_sepow between 1 and 6 default $user_sepow |
39 | !bound nw_sepow between 1 and 6 default $user_sepow |
36 | !bound nw_expow between 1 and 6 default $user_expow |
40 | !bound nw_expow between 1 and 6 default $user_expow |
37 | !bound nw_precw between 0 and 1 default $user_precw |
41 | !bound nw_precw between 0 and 1 default $user_precw |
38 | !set |
42 | !set nw_check_=$nw_check1,$nw_check2 |
39 | !set nw_check_=!nonempty items $nw_check_ |
43 | !set nw_check_=!nonempty items $nw_check_ |
40 | !set nw_check_=!listintersect $nw_check_ and |
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 |
|
41 | 47 | ||
42 | !setdef !set user_qnum=$nw_qnum\ |
48 | !setdef !set user_qnum=$nw_qnum\ |
43 | !set user_qcmlevel=$nw_qcmlevel\ |
49 | !set user_qcmlevel=$nw_qcmlevel\ |
44 | !set user_scoredelay=$nw_scoredelay\ |
50 | !set user_scoredelay=$nw_scoredelay\ |
45 | !set user_qcmpresent=$nw_qcmpresent\ |
51 | !set user_qcmpresent=$nw_qcmpresent\ |
46 | !set |
52 | !set user_presentsolu=$nw_presentsolu\ |
- | 53 | !set user_presentfeed=$nw_presentfeed\ |
|
- | 54 | !set user_check3=$nw_check3\ |
|
- | 55 | !set user_check4=$nw_check4\ |
|
47 | !set user_check=$nw_check_\ |
56 | !set user_check=$nw_check_\ |
48 | !set user_sepow=$nw_sepow\ |
57 | !set user_sepow=$nw_sepow\ |
49 | !set user_expow=$nw_expow\ |
58 | !set user_expow=$nw_expow\ |
50 | !set user_precw=$nw_precw\ |
59 | !set user_precw=$nw_precw\ |
51 | in wimshome/log/classes/$wims_class/supervisor |
60 | in wimshome/log/classes/$wims_class/supervisor |
52 | 61 | ||
53 | !setdef wims_oefdefault_qnum=$nw_qnum\ |
62 | !setdef wims_oefdefault_qnum=$nw_qnum\ |
54 | wims_oefdefault_qcmlevel=$nw_qcmlevel\ |
63 | wims_oefdefault_qcmlevel=$nw_qcmlevel\ |
55 | wims_oefdefault_scoredelay=$nw_scoredelay\ |
64 | wims_oefdefault_scoredelay=$nw_scoredelay\ |
56 | wims_oefdefault_qcmpresent=$nw_qcmpresent\ |
65 | wims_oefdefault_qcmpresent=$nw_qcmpresent\ |
57 |
|
66 | wims_oefdefault_presentsolu=$nw_presentsolu\ |
- | 67 | wims_oefdefault_presentfeed=$nw_presentfeed\ |
|
58 | wims_oefdefault_check=$nw_check_\ |
68 | wims_oefdefault_check=$nw_check_\ |
- | 69 | wims_oefdefault_check3=$nw_check3\ |
|
- | 70 | wims_oefdefault_check4=$nw_check4\ |
|
59 | wims_oefdefault_expow=$nw_expow\ |
71 | wims_oefdefault_expow=$nw_expow\ |
60 | wims_oefdefault_sepow=$nw_sepow\ |
72 | wims_oefdefault_sepow=$nw_sepow\ |
61 | wims_oefdefault_precw=$nw_precw\ |
73 | wims_oefdefault_precw=$nw_precw\ |
62 | in wimshome/sessions/$wims_session/var.stat |
74 | in wimshome/sessions/$wims_session/var.stat |
63 | 75 |