Coverage for middle_layer/review/domain_layer/entities/proposal_review.py: 100.00%

29 statements  

« prev     ^ index     » next       coverage.py v7.10.5, created at 2026-03-09 06:13 +0000

1# Copyright 2024 Associated Universities, Inc. 

2# 

3# This file is part of Telescope Time Allocation Tools (TTAT). 

4# 

5# TTAT is free software: you can redistribute it and/or modify 

6# it under the terms of the GNU General Public License as published by 

7# the Free Software Foundation, either version 3 of the License, or 

8# any later version. 

9# 

10# TTAT is distributed in the hope that it will be useful, 

11# but WITHOUT ANY WARRANTY; without even the implied warranty of 

12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 

13# GNU General Public License for more details. 

14# 

15# You should have received a copy of the GNU General Public License 

16# along with TTAT. If not, see <https://www.gnu.org/licenses/>. 

17"""Abstract Base Class for ProposalReview""" 

18 

19from typing import TypedDict 

20 

21 

22class ProposalReviewJSON(TypedDict): 

23 reviewState: str 

24 externalScienceReviewComments: str 

25 internalScienceReviewComments: str 

26 externalTechnicalReviewComments: str 

27 internalTechnicalReviewComments: str 

28 externalDataManagementReviewComments: str 

29 internalDataManagementReviewComments: str 

30 scientificMeritMetric: float 

31 proposalId: int 

32 reviewDetails: str 

33 

34 

35class ProposalReview: 

36 """Collects scientific, technical, data management comments and scoring for any Proposal""" 

37 

38 @property 

39 def review_state(self): 

40 raise NotImplementedError 

41 

42 @property 

43 def external_science_review_comments(self): 

44 raise NotImplementedError 

45 

46 @property 

47 def internal_science_review_comments(self): 

48 raise NotImplementedError 

49 

50 @property 

51 def external_technical_review_comments(self): 

52 raise NotImplementedError 

53 

54 @property 

55 def internal_technical_review_comments(self): 

56 raise NotImplementedError 

57 

58 @property 

59 def external_data_management_review_comments(self): 

60 raise NotImplementedError 

61 

62 @property 

63 def internal_data_management_review_comments(self): 

64 raise NotImplementedError 

65 

66 @property 

67 def scientific_merit_metric(self): 

68 raise NotImplementedError