Пример #1
0
 def correction(self,
                student_merge,
                extended=extended,
                abbreviated=abbreviated):
     self.datasets = [Args(extended, abbreviated)]
     return ExerciseFunction.correction(self, student_merge)
Пример #2
0
 def correction(self, student_diff, extended=extended, abbreviated=abbreviated):
     self.datasets = [Args(extended, abbreviated).clone('deep')]
     return ExerciseFunction.correction(self, student_diff)
Пример #3
0
 def correction(self, student_index, bateaux=abbreviated):
     self.datasets = [Args(bateaux)]
     return ExerciseFunction.correction(self, student_index)
Пример #4
0
 def correction(self, student_comptage):
     # call the decorator on the student code
     return ExerciseFunction.correction(
         self, exercice_compliant(student_comptage))
Пример #5
0
 def correction(self, student_decode_zen):
     args_obj = Args(this)
     self.datasets = [ args_obj ]
     return ExerciseFunction.correction(self, student_decode_zen)
Пример #6
0
 def correction(self, student_decode_zen):
     args_obj = Args(this)
     self.datasets = [ args_obj ]
     return ExerciseFunction.correction(self, student_decode_zen)
Пример #7
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 ExerciseFunction.correction(self, check)
Пример #8
0
 def correction(self, student_diff, extended=extended, abbreviated=abbreviated):
     self.datasets = [Args(extended, abbreviated).clone('deep')]
     return ExerciseFunction.correction(self, student_diff)
Пример #9
0
 def correction(self, student_index, bateaux=abbreviated):
     self.datasets = [Args(bateaux)]
     return ExerciseFunction.correction(self, student_index)
Пример #10
0
 def correction(self, student_merge,
                extended=extended, abbreviated=abbreviated):
     self.datasets = [Args(extended, abbreviated)]
     return ExerciseFunction.correction(self, student_merge)