Skip to content

Commit

Permalink
Add PMAT for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Feb 13, 2024
1 parent 9ce72b0 commit 98845e6
Show file tree
Hide file tree
Showing 4 changed files with 1,742 additions and 77 deletions.
4 changes: 4 additions & 0 deletions evo_researcher/benchmark/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ class OutcomePrediction(BaseModel):
confidence: float
info_utility: t.Optional[float]

@property
def binary_answer(self) -> bool:
return self.p_yes > 0.5


class Prediction(BaseModel):
evaluation: t.Optional[EvalautedQuestion]
Expand Down
Loading

0 comments on commit 98845e6

Please sign in to comment.