Skip to content

Conversation

@lsabor
Copy link
Contributor

@lsabor lsabor commented Nov 15, 2025

closes #3800

@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from 73b74c6 to 8801192 Compare November 23, 2025 21:38
@lsabor lsabor changed the base branch from main to feat/3824/bulletin/post-and-project November 23, 2025 21:44
DEFAULT_INBOUND_OUTCOME_COUNT = 200


def validate_options_history(value):
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's move this out of models to the new utils/validators.py module

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see any validators.py module

@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from c133437 to 47b96d7 Compare November 30, 2025 16:57
@lsabor lsabor changed the base branch from feat/3824/bulletin/post-and-project to mc/3841/setup/none-prediction-value November 30, 2025 16:58
@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from 47b96d7 to 031072b Compare November 30, 2025 17:02
@lsabor lsabor force-pushed the mc/3841/setup/none-prediction-value branch from 597d325 to c734f33 Compare November 30, 2025 20:15
@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from 7a403b5 to 668d4c1 Compare November 30, 2025 20:17
add options_history field to question model and migration
add options_history to question serialization
add options_history initialization to question creation
add helper functions to question/services/multiple_choice_handlers.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_options_reorder,  multiple_choice_delete_options, multiple_choice_add_options
add options_history to openapi docs
add csv reporting support for options_history
update logic to play well with back/forward filling 0s
add all_options_ever to serializer and api docs
add current options to csv return
add support for datetime isoformat in options_history
@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from 668d4c1 to a9221af Compare December 4, 2025 21:52
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.

MC Choice Changing / Backend / record option history & update forecasts

3 participants