Last change
on this file since 2674 was
1998,
checked in by Henrik Bettermann, 17 years ago
|
REINSTATEMENT verdict added
student_application.xml: date format changed
|
-
Property svn:keywords set to
Id
|
File size:
833 bytes
|
Line | |
---|
1 | ## Script (Python) "getVerdict" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters=verdict |
---|
8 | ##title= |
---|
9 | ## |
---|
10 | # $Id: getVerdict.py 1998 2007-07-08 21:21:12Z henrik $ |
---|
11 | |
---|
12 | verdicts = {'SUCCESSFUL STUDENT': ('A',True), |
---|
13 | 'STUDENT WITH CARRYOVER COURSES': ('B',True), |
---|
14 | 'STUDENT ON PROBATION': ('C',False), |
---|
15 | 'WITHDRAWAL STUDENT': ('D',False), |
---|
16 | 'FIRST CLASS HONOURS': ('A',True), |
---|
17 | 'SECOND CLASS HONOURS (UPPER DIVISION)': ('A',True), |
---|
18 | 'SECOND CLASS HONOURS (LOWER DIVISION)': ('A',True), |
---|
19 | 'THIRD CLASS': ('A',True), |
---|
20 | 'PASS': ('A',True), |
---|
21 | 'Temporary Withdrawal': ('J',False), |
---|
22 | 'REINSTATEMENT': ('M',False), |
---|
23 | # '': ('',False), |
---|
24 | } |
---|
25 | |
---|
26 | return verdicts.get(verdict,('no_such_verdict',False)) |
---|
27 | |
---|
Note: See
TracBrowser for help on using the repository browser.