Skip to content

Conversation

@lsabor
Copy link
Contributor

@lsabor lsabor commented Nov 19, 2025

resolves #3813

@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch 2 times, most recently from f85f6c6 to 7c67992 Compare November 22, 2025 18:13
@lsabor lsabor changed the title add mechanisms to deal with validation and forecasting during grace period mc/3813/backend/forecasts Nov 23, 2025
@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from 73b74c6 to 8801192 Compare November 23, 2025 21:38
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch from 7c67992 to 0140bb9 Compare November 23, 2025 21:38
@lsabor lsabor force-pushed the mc/3800/backend/option_history branch 2 times, most recently from 47b96d7 to 031072b Compare November 30, 2025 17:02
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch 2 times, most recently from b65bb8c to e5e0be3 Compare November 30, 2025 20:05
@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from 7a403b5 to 668d4c1 Compare November 30, 2025 20:17
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch 2 times, most recently from 3c40ee2 to 497abbe Compare November 30, 2025 22:15
add options_history to question serialization

add options_history initialization to question creation

add helper functions to question/utils.py and add 'automatic' to forecast.source selection

fix build_question_forecasts import and remove options & options_history from admin panel edit

tests for question creation, multiple_choice_rename_option, multiple_choice_delete_options, multiple_choice_add_options

add options_history to openapi docs

add csv reporting support for options_history

rebase to None

openapi.py spelling

update logic to play well with back/forward filling 0s

update csv_utils

update csv_utils 2

minor logic fix

fix

add all_options_ever to serializer and api docs

add current options to csv return

add support for datetime isoformat instead of timestamps in options_history
move mc operations to mc handlers file
move tests to appropriate locations

minor cleanup

fix forecast creation in test
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch from 497abbe to 5aef2d5 Compare December 4, 2025 21:51
@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from 668d4c1 to a9221af Compare December 4, 2025 21:52
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch from 5aef2d5 to 1aad45c Compare December 4, 2025 21:54
fix file restructure
fix datetime iso format in history conflicts
other fixes

mc/forecasts tweaks 2

mc forecasts tweaks 3

mc forecasts tweaks 4

mc forecasts tweaks 5

add support for None values in MC predictions

fix tests and source logic
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch from 1aad45c to e3481d0 Compare December 4, 2025 21:54
pmf = forecast.probability_yes_per_category
forecast.probability_yes_per_category = (
pmf[:-1] + [0.0] * len(options_to_add) + [pmf[-1]]
pmf[:-1] + [None] * len(options_to_add) + [pmf[-1]]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to mc/3800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants