Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions code_tests/integration_tests/test_metaculus_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def test_get_conditional_questions_from_tournament(self) -> None:
assert isinstance(conditional_question.question_no, BinaryQuestion)

async def test_get_previous_forecast(self) -> None:
client = MetaculusClient().dev()
client = MetaculusClient()
for allowed_types in {"binary", "numeric"}:
api_filter = ApiFilter(
allowed_types=[allowed_types], # type: ignore
Expand Down Expand Up @@ -1365,10 +1365,10 @@ def test_all_admin_functions(self) -> None:
token=token,
)
question_to_create = client.get_question_by_url(
"https://dev.metaculus.com/questions/39162/"
"https://www.metaculus.com/questions/39162/"
)
project_id = 1156 # https://dev.metaculus.com/tournament/beta-testing/
slug = "beta-testing"
project_id = 32932 # https://www.metaculus.com/tournament/benta/
slug = "benta" # Ben testing area
question_to_create.default_project_id = project_id
question_to_create.tournament_slugs = [slug]

Expand Down
41 changes: 41 additions & 0 deletions forecasting_tools/agents_and_tools/ai_congress/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
from forecasting_tools.agents_and_tools.ai_congress.congress_member_agent import (
CongressMemberAgent,
)
from forecasting_tools.agents_and_tools.ai_congress.congress_orchestrator import (
CongressOrchestrator,
)
from forecasting_tools.agents_and_tools.ai_congress.data_models import (
CongressMember,
CongressSession,
CongressSessionInput,
ForecastDescription,
PolicyProposal,
)
from forecasting_tools.agents_and_tools.ai_congress.member_profiles import (
AI_MODEL_MEMBERS,
AVAILABLE_MEMBERS,
POLITICAL_MEMBERS,
get_ai_model_members,
get_default_members,
get_member_by_name,
get_members_by_names,
get_political_members,
)

__all__ = [
"CongressMember",
"CongressMemberAgent",
"CongressOrchestrator",
"CongressSession",
"CongressSessionInput",
"ForecastDescription",
"PolicyProposal",
"AI_MODEL_MEMBERS",
"AVAILABLE_MEMBERS",
"POLITICAL_MEMBERS",
"get_ai_model_members",
"get_default_members",
"get_member_by_name",
"get_members_by_names",
"get_political_members",
]

Large diffs are not rendered by default.

Loading