Subversion Repositories wimsdev

Rev

Rev 17501 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17501 Rev 17764
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
-
 
17
!if $(replyweight$ans_1)!=$empty and NaN notin $ans_w and Inf notin $ans_w \
12
!if $(replyweight$ans_1)!=$empty and NaN notin $ans_w and Inf notin $ans_w \
18
	  and $ans_w!=1 and nocompare notwordof $ans_2
13
	  and $ans_w!=1 and nocompare notwordof $ans_2
19
  ans_got=$freegot
14
  ans_got=$freegot
20
  prec_got=$precgood
15
  prec_got=$precgood
21
  weightadjust=$[$weightadjust+$ans_w-1]
16
  weightadjust=$[$weightadjust+$ans_w-1]