User Tools

Site Tools


stats:proc:changeattributes_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

stats:proc:changeattributes_sheet [2011/09/29 11:43]
Patrick Michel
stats:proc:changeattributes_sheet [2013/07/10 12:34]
Line 1: Line 1:
-====== Change Attributes (Sheet) ====== 
- 
-<code xcend> 
-changeAttributes(ident id, ident sheetId, double maxPoints) { 
-  assume exists //​exercises/​exercise[id]/​sheets/​sheet[sheetId];​ # implies the existence of the exercise 
-  ​ 
-  assume maxPoints >= 0; 
-  assume //​exercises/​exercise[id]/​students/​student[x]/​result[sheetId]/​points <= maxPoints; 
-  ​ 
-  update //​exercises/​exercise[id]/​sheets/​sheet[sheetId]/​maxPoints maxPoints; 
-} # roles: assistant[id] 
-</​code>​ 
  
stats/proc/changeattributes_sheet.txt ยท Last modified: 2013/07/10 12:34 (external edit)