The code I am going to put on Github is the stuff that I had in the earlier post with bits like
$levelmet=REFER;
if($levels["P"]==1){
$levelmet=PASS;
}
if(($levels["P"]==1)&& ($levels["M"]==1))
bla bla bla
in it. (actually there is a minor bug at one level in it). I think that it can be read through by a non programmer to get the logic of what I am doing. I am hoping it will work "as you would expect", which means that a student who gets all P and M would be graded as M not like the current system which would grade as a D as a proxy for "all criteria met".
After 12 years a (FE) teacher* today is my last day and in a weeks time I will be a developer supporting Moodle and other LAMP technologies. I first thought I would like to do that almost exactly 12 years ago when I first discovered Moodle.
Marcus
*could be a good name for a movie