ss
ss
ss
beginning implement the core algorithm
modified scheduler model
init file
add designatedTrainees ManytoManyField in WorkerGroup, remove the QualificationGroup. Add ExceptionRequest Model. Remove ExceptionGroup model and permanentdesignation model. Therefore, now, service has qualified trainee, instane has exceptional trainee and workergroup has designated trainees. We define Qualification, exception and designation in the following way. Qualificatioin means you are qualified to serve in a certain service(skills, TA assigned, etc). Excetion means you are not be able to serve in a certain instance(For example, YP can't serve Saturday Dinner, etc). Designation is a a trainee is a designated to serve in a particular workgroup.
forget the remove the PermanentDesignation in the preivous commit ,so remove it
modify getAssignmentsByTrainee Method in Assignment model
add two methods in FilterQuery Model
minor modification in Scheduler Model
add getWorkerGroup Method in Instance
add unicode for each model and add related_name
implement getAvailableTrainees Method and other minor changes.
minor changes
Remove some unnecessary mothod and other minor changes
Add methods in assigment model, implementing the core alogrithm
Implementing Alogorithm
move some methods to instance model and workergroup model. Implemented the
core part of the algorithm. need to do db optimization to speed.
fix minor bugs