User Tools

Site Tools


stats:proc:assignteam

Differences

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

Link to this comparison view

stats:proc:assignteam [2011/10/24 15:50]
Patrick Michel created
stats:proc:assignteam [2013/07/10 12:34]
Line 1: Line 1:
-====== Assign Team ====== 
- 
-<code xcend> 
-assignTeam(string uid, string id, string studentId, string teamId) { 
-  assume exists //​accounts/​account[uid]/​tutor[id]/​group[//​exercises/​exercise[id]/​student[studentId]/​group];​ 
-    # implies the existence of the student, the exercise, the group and enough rights by a tutor account 
-  ​ 
-  assume not exists //​exercises/​exercise[id]/​student[studentId]/​team;​ 
-  ​ 
-  update //​exercises/​exercise[id]/​student[studentId]/​team teamId; 
-} 
-</​code>​ 
  
stats/proc/assignteam.txt ยท Last modified: 2013/07/10 12:34 (external edit)