Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
9162 bpr 1
<style type="text/css">
2
.wims_matrix, .wims_matrix tr, .wims_matrix td {border: 1px solid #999;
9179 bpr 3
  padding: 0.5em; margin-right:auto;margin-left:auto;text-align:center;
9162 bpr 4
  border-collapse:collapse;}
9179 bpr 5
  .wims_matrix th {border: 1px solid #999; padding: 0.5em;}
6
  .wims_matrix th:first-child {text-align:left;}
9162 bpr 7
</style>
8
 
9170 bpr 9
!distribute lines 1,2,3,4,5,6,7,8,9\
9162 bpr 10
1,1,1,1,0,0,0,0,0\
11
0,0,0,0,0,1,1,1,1\
12
1,1,1,1,1,1,0,0,0\
13
2,2,1,0,0,0,0,0,0\
14
1,1,1,1,1,0,0,0,0\
15
1,1,1,1,1,1,0,0,0\
16
1,1,1,1.1,1.3,1.5,1.7,2,2.6\
17
1,1.5,2,2.5,3,3.5,4,4.5,5\
18
0.9,0.8,0.7,0.55,0.4,0.25,0.1,0,0\
19
into t_severity,t_qcmpresent,t_qcmgood,t_penalty,t_presentsol,t_presentgood,t_givehint,t_scorepower,\
20
  t_freepower,t_precweight
21
 
22
!for j in presentsol
23
  !set t_$j=!replace internal 0 by $wims_name_no in $(t_$j)
24
  !set t_$j=!replace internal 1 by $name_sometimes in $(t_$j)
25
  !set t_$j=!replace internal 2 by $wims_name_yes in $(t_$j)
26
!next
27
!for j in qcmpresent, givehint,penalty,qcmgood, presentgood
28
  !set t_$j=!replace internal 0 by $wims_name_no in $(t_$j)
29
  !set t_$j=!replace internal 1 by $wims_name_yes in $(t_$j)
30
!next
31
 
32
!readproc slib/text/matrixhtml [$name_levelseverity,$t_severity\
33
$(name_solutiongiven),$t_presentsol\
34
$(name_choice_check[3]),$t_qcmpresent\
35
$(name_choice_check[4]),$t_givehint\
36
\
37
$(name_expower), 1,1.5,2,2.5,3,3.5,4,4.5,5\
38
$(name_sepower),1,1,1,1.1,1.3,1.5,1.7,2,2.6\
39
$(name_precweight),0.9,0.8,0.7,0.55,0.4,0.25,0.1,0,0\
40
\
41
$name_qcm\
42
$(name_qcmanswer),2,3,4,5,5,6,7,8,8\
43
$(name_choice_check[2]),$t_penalty\
44
$(name_choice_check[1]),$t_presentgood],,TH=[1;1]
45
 
46
$slib_out