diff --git a/prediction_market_agent/agents/known_outcome_agent/deploy.py b/prediction_market_agent/agents/known_outcome_agent/deploy.py index 3a99483d..bbc0992e 100644 --- a/prediction_market_agent/agents/known_outcome_agent/deploy.py +++ b/prediction_market_agent/agents/known_outcome_agent/deploy.py @@ -37,13 +37,11 @@ def pick_markets(self, markets: list[AgentMarket]) -> list[AgentMarket]: # Assume very high probability markets are already known, and have # been correctly bet on, and therefore the value of betting on them # is low. - if not market_is_saturated(market=market): - if not has_question_event_happened_in_the_past( - model=self.model, question=market.question - ): - # event happened - continue - + if not market_is_saturated( + market=market + ) and has_question_event_happened_in_the_past( + model=self.model, question=market.question + ): answer = get_known_outcome( model=self.model, question=market.question, diff --git a/prediction_market_agent/agents/known_outcome_agent/known_outcome_agent.py b/prediction_market_agent/agents/known_outcome_agent/known_outcome_agent.py index f8a413ca..e933e31b 100644 --- a/prediction_market_agent/agents/known_outcome_agent/known_outcome_agent.py +++ b/prediction_market_agent/agents/known_outcome_agent/known_outcome_agent.py @@ -53,7 +53,7 @@ def has_known_outcome(self) -> bool: - If the event has not yet finished, return 0 - If you are not sure, return -1 -Answer with the single prompt only, and nothing else. +Answer with the single 1, 0 or -1 only, and nothing else. [QUESTION] "{question}"