Skip to content

Commit

Permalink
Updated timing and default constants
Browse files Browse the repository at this point in the history
  • Loading branch information
CodexVeritas committed Dec 13, 2024
1 parent c2d5451 commit 9175b56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/daily_run_simple_bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Regularly forecast new questions
on:
workflow_dispatch:
schedule:
- cron: "*/1 * * * *" # runs every 15 minutes. Make sure to skip already forecasted questions!
- cron: "*/15 * * * *" # runs every 15 minutes. Make sure to skip already forecasted questions!

# Daily job to run the simple forecast bot
jobs:
Expand All @@ -24,7 +24,7 @@ jobs:
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# Constants
SUBMIT_PREDICTION = True # set to True to publish your predictions to Metaculus
USE_EXAMPLE_QUESTIONS = True # set to True to forecast example questions
USE_EXAMPLE_QUESTIONS = False # set to True to forecast example questions
NUM_RUNS_PER_QUESTION = 5 # The median is taken between NUM_RUNS_PER_QUESTION runs
SKIP_PREVIOUSLY_FORECASTED_QUESTIONS = True
GET_NEWS = True # set to True to enable AskNews after entering ASKNEWS secrets
Expand Down

0 comments on commit 9175b56

Please sign in to comment.