diff --git a/prediction_market_agent_tooling/tools/is_invalid.py b/prediction_market_agent_tooling/tools/is_invalid.py index 2d96658f..015d4f11 100644 --- a/prediction_market_agent_tooling/tools/is_invalid.py +++ b/prediction_market_agent_tooling/tools/is_invalid.py @@ -34,9 +34,10 @@ - Which could give an incentive only to specific participants to commit an immoral violent action, but are in practice unlikely. - Valid: Will the US be engaged in a military conflict with a UN member state in 2021? (It’s unlikely for the US to declare war in order to win a bet on this market). - Valid: Will Derek Chauvin go to jail for the murder of George Flyod? (It’s unlikely that the jurors would collude to make a wrong verdict in order to win this market). -- Questions with relative dates will resolve as invalid. Dates must be stated in absolute terms, not relative depending on the current time. +- Questions with relative dates will resolve as invalid. Dates must be stated in absolute terms, not relative depending on the current time. But they can be relative to the event specified in the question itself. - Invalid: Who will be the president of the United States in 6 months? ("in 6 months depends on the current time"). - Invalid: In the next 14 days, will Gnosis Chain gain another 1M users? ("in the next 14 days depends on the current time"). +- Valid: Will GNO price go up 10 days after Gnosis Pay cashback program is annouced? ("10 days after" is relative to the event in the question, so we can determine absolute value). - Questions about moral values and not facts will be resolved as invalid. - Invalid: "Is it ethical to eat meat?". diff --git a/tests/tools/test_is_invalid.py b/tests/tools/test_is_invalid.py index 132b21bb..ffd8d3e7 100644 --- a/tests/tools/test_is_invalid.py +++ b/tests/tools/test_is_invalid.py @@ -81,6 +81,10 @@ "In the next 12 months will an AI-generated song break into the Billboard Hot 100 top 10 or the Spotify Top Hits?", True, # Invalid because it's relative timing that depends on "now". ), + ( + "Will Trump’s polling averages go down by 1% two weeks after The Apprentice is released?", + False, # Valid, because absolute time can be determined based on The Apprentice release. + ), ], ) def test_is_invalid(question: str, invalid: bool) -> None: