Example #1
0
 def correction(self, student_decode_zen):
     args_obj = Args(this)
     self.datasets = [ args_obj ]
     return ExerciceFunction.correction(self, student_decode_zen)
Example #2
0
 def correction(self, inconnue):
     # dans notre cas il n'y a qu'un seul jeu d'entrées
     self.datasets = [ Args(inconnue) ]
     def check(inconnue):
         return self.connue + inconnue + self.connue
     return ExerciceFunction.correction(self, check)
Example #3
0
 def correction(self, student_decode_zen):
     args_obj = Args(this)
     self.datasets = [args_obj]
     return ExerciceFunction.correction(self, student_decode_zen)
Example #4
0
 def correction(self, student_diff, extended=extended, abbreviated=abbreviated):
     self.datasets = [Args(extended, abbreviated).clone('deep')]
     return ExerciceFunction.correction(self, student_diff)
 def correction(self, student_index, bateaux=abbreviated):
     self.datasets = [Args(bateaux)]
     return ExerciceFunction.correction(self, student_index)
Example #6
0
 def correction(self,
                student_diff,
                extended=extended,
                abbreviated=abbreviated):
     self.datasets = [Args(extended, abbreviated).clone('deep')]
     return ExerciceFunction.correction(self, student_diff)
 def correction(self, student_merge,
                extended=extended, abbreviated=abbreviated):
     self.datasets = [Args(extended, abbreviated)]
     return ExerciceFunction.correction(self, student_merge)
 def correction(self,
                student_merge,
                extended=extended,
                abbreviated=abbreviated):
     self.datasets = [Args(extended, abbreviated)]
     return ExerciceFunction.correction(self, student_merge)
 def correction(self, student_index, bateaux=abbreviated):
     self.datasets = [Args(bateaux)]
     return ExerciceFunction.correction(self, student_index)
Example #10
0
 def correction(self, student_comptage):
     # call the decorator on the student code
     return ExerciceFunction.correction(
         self, exercice_compliant(student_comptage))
Example #11
0
 def correction(self, student_comptage):
     # call the decorator on the student code
     return ExerciceFunction.correction(self, exercice_compliant(student_comptage))