Last change
on this file since 1925 was
1694,
checked in by Henrik Bettermann, 18 years ago
|
verdict string added
|
-
Property svn:keywords set to
Id
|
File size:
791 bytes
|
Rev | Line | |
---|
[1401] | 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 1694 2007-04-20 20:50:51Z henrik $ |
---|
| 11 | |
---|
[1446] | 12 | verdicts = {'SUCCESSFUL STUDENT': ('A',True), |
---|
| 13 | 'STUDENT WITH CARRYOVER COURSES': ('B',True), |
---|
| 14 | 'STUDENT ON PROBATION': ('C',False), |
---|
| 15 | 'WITHDRAWAL STUDENT': ('D',False), |
---|
[1463] | 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), |
---|
[1694] | 21 | 'Temporary Withdrawal': ('J',False), |
---|
[1401] | 22 | # '': ('',False), |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | return verdicts.get(verdict,('no_such_verdict',False)) |
---|
| 26 | |
---|
Note: See
TracBrowser for help on using the repository browser.