Skip to content

Commit

Permalink
helpful comment
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasmohrin committed Aug 2, 2022
1 parent 08cad25 commit 0935dd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions evap/evaluation/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1447,6 +1447,8 @@ def will_be_private(self):
def will_be_public(self):
return self.review_decision == self.ReviewDecision.PUBLIC

# Once evaluation results are published, the review decision is executed
# and thus, an answer _is_ private or _is_ public from that point on.
is_private = will_be_private
is_public = will_be_public

Expand Down

0 comments on commit 0935dd6

Please sign in to comment.