Main place getting gold standard is for exam comparisons BUT this could be useful for future more advanced auto test auto grade things, even for normal work
(self)
| 865 | } |
| 866 | |
| 867 | def get_gold_standard_file(self): |
| 868 | """ |
| 869 | Main place getting gold standard is for exam comparisons |
| 870 | BUT this could be useful for future more advanced auto test auto grade things, |
| 871 | even for normal work |
| 872 | |
| 873 | """ |
| 874 | gold_standard_file = None |
| 875 | |
| 876 | if self.gold_standard_file: # Try cache first |
| 877 | return self.gold_standard_file |
| 878 | |
| 879 | if self.file_original: |
| 880 | gold_standard_file = self.file_original.serialize_annotations_only() |
| 881 | |
| 882 | return gold_standard_file |
| 883 | |
| 884 | @staticmethod |
| 885 | def new(session, |
no test coverage detected