Subversion Repositories wimsdev

Rev

Rev 13699 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13699 Rev 17501
Line 7... Line 7...
7
    ans_type=symtext
7
    ans_type=symtext
8
  !endif
8
  !endif
9
!endif
9
!endif
10
 
10
 
11
ans_w=$[$(replyweight$ans_1)]
11
ans_w=$[$(replyweight$ans_1)]
-
 
12
!! get the "presentgood" var to know if good answers must be displayed.
-
 
13
!!
-
 
14
!! moved here before loading anstype (need to test effects)
-
 
15
!read oef/testseedscore.phtml
-
 
16
!readproc oef/get_presentgood.proc
12
!if $(replyweight$ans_1)!=$empty and NaN notin $ans_w and Inf notin $ans_w \
17
!if $(replyweight$ans_1)!=$empty and NaN notin $ans_w and Inf notin $ans_w \
13
	  and $ans_w!=1 and nocompare notwordof $ans_2
18
	  and $ans_w!=1 and nocompare notwordof $ans_2
14
  ans_got=$freegot
19
  ans_got=$freegot
15
  prec_got=$precgood
20
  prec_got=$precgood
16
  weightadjust=$[$weightadjust+$ans_w-1]
21
  weightadjust=$[$weightadjust+$ans_w-1]