Skip to content

Commit

Permalink
add formating
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Feb 16, 2024
1 parent 172c2a7 commit aa5451b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prediction_market_agent_tooling/benchmark/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def get_markets_summary(self) -> t.Dict[str, t.List[str | float]]:
]
markets_summary[f"{agent} p_yes"] = [
(
f"{p.outcome_prediction.p_yes} [{p.outcome_prediction.probable_resolution.value}]"
f"{p.outcome_prediction.p_yes:.2f} [{p.outcome_prediction.probable_resolution.value}]"
if p.is_predictable
and p.outcome_prediction # Is answerable and answered
else (
Expand All @@ -408,7 +408,7 @@ def get_markets_summary(self) -> t.Dict[str, t.List[str | float]]:
for p in agent_predictions
]
markets_summary[f"reference p_yes"] = [
f"{m.p_yes} [{m.probable_resolution}]" for m in self.markets
f"{m.p_yes:.2f} [{m.probable_resolution}]" for m in self.markets
]
return markets_summary

Expand Down

0 comments on commit aa5451b

Please sign in to comment.