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
« 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"""
19from typing import TypedDict
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
35class ProposalReview:
36 """Collects scientific, technical, data management comments and scoring for any Proposal"""
38 @property
39 def review_state(self):
40 raise NotImplementedError
42 @property
43 def external_science_review_comments(self):
44 raise NotImplementedError
46 @property
47 def internal_science_review_comments(self):
48 raise NotImplementedError
50 @property
51 def external_technical_review_comments(self):
52 raise NotImplementedError
54 @property
55 def internal_technical_review_comments(self):
56 raise NotImplementedError
58 @property
59 def external_data_management_review_comments(self):
60 raise NotImplementedError
62 @property
63 def internal_data_management_review_comments(self):
64 raise NotImplementedError
66 @property
67 def scientific_merit_metric(self):
68 raise NotImplementedError